Plugmold is usually mounted on the surface of a wall. Folks often object to it for cosmetic reasons.

Yet ... looking at some plugmold I have around the house, I note that it's not much thicker than the usual drywall. "Wiremold" brand appears to be 3/4" thick, while the store-brand stuff on the workbench looks to be 1-1/2" thick.

What if ... you let it into the wall, attaching it directly to the studs, and butted the drywall right to it?

Does anyone see a code issue with that?

Along those lines ... is anyone aware of a 'flanged' plugmold intended for flush installation?