Yes, that will work fine as long as you provide adequate RF shielding.