Here is an idea - not complete so please offer helpful suggestions....
Mount a deep 4x4 box directly under main panel. Use one with large KOs
Connect 4x4 to main panel with rigid conduit
4x4 box should be flush with drywall.
Cut a 4x4 hole in the back of your trough.
Surface mount the trough directly over the 4x4.
Find a method to attach the 4x4 to the back of the trough.
Maybe use the corner screws of the 4x4
Don't leave any sharp edges on the trough to cut wires.
Or remove the long screws from this
Raco Retro Ring and use it to clamp the 4x4 to the back of the trough
Another approach is to start with a flush 4x4 in the wall. Connected with rigid conduit.
Add 1 or 2 box extensions so it protrudes from the wall.
Surface mount trough on drywall. Below or next to the protruding box extension.
Connect box extension to trough with ******.
