Welcome to the Forum ESCinNC.
You are right that is bad situation and the NEC has rules in place to prevent it.
210.60(B) Receptacle Placement. In applying the provisions of 210.52(A), the total number of receptacle outlets shall not be less than the minimum number that would comply with the provisions of that section. These receptacle outlets shall be permitted to be located conveniently for permanent furniture layout. At least two receptacle outlets shall be readily accessible. Where receptacles are installed behind the bed, the receptacle shall be located to prevent the bed from contacting any attachment plug that may be installed, or the receptacle shall be provided with a suitable guard.
The company I work for wires hotels and we do not place the outlets behind the beds.
However management changes the room from a two bed to a single or the other way around the outlets do end up behind the bed.
![[Linked Image]](https://www.electrical-contractor.net/ubb/frown.gif)