Is it a violation of NEC code to install a receptacle horizontally and 3/4" from face of a stud?
Provided the mount and cables allow the monitor to be readily removed to gain access to the box, this should not be a Code issue -- the basic requirement is that all junction boxes be readily accessible (i.e. you shouldn't have to tear apart the building to find 'em).