Wiring can pass through (across) the stud space used as a return air (duct). A box and receptacle in that space would be a violation.
If the receptacle will be mounted above the register grill, a piece of wood across the space would effectively seperate the return air (duct) part of the stud space from the part with the receptacle.


Alan--
If it was easy, anyone could do it.