I"ve already incorporated a side hinged full size murphy bed in my current build.
One of the considerations is that your trailer floor to ceiling height must be slightly more than the width of the bed. If mounting longways, then the length of the bed. Longways would allow walk around space on each side to the extent the trailer is wider than the bed but require close to 7 foot floor to ceiling height allowing 75 inches for the mattress length, 2-3 inches for the bed frame surround and clearance for the arc when operating.
Another considerations is the pivot point. If using a standard hinge at the floor that will be the height of the bed frame. There is hardware that will raise the pivot point as the bed folds out.
I mounted mine on a bulkhead approximately 18 inches high (1/3 the width of the bed) so the height of the bed frame is approx 18 inches from the floor. This provides enough counterbalance so the bed is easily lifted. I measured with a fish scale and it was less than 15 pounds. The bed frame is 1/2 inch plywood reinforced with 1/3 edges and two 1x6 crossbraces where the hinges attach.

In use the bed frame will rest on benches on either side of the trailer and a fold down table top will be attached to the underside of the bed.
The downside is the usefulness of the space required for the arc is somewhat limited. I plan to use the upper wall behind the bed for hanging clothes and the lower for shoe/boot storage.

The net result is the saving of approx 40 inches length of floor space when the bed is folded up. Another advantage over converting a dinette into a bed is you don't have to make it up before and after each time you use it.
A smaller trailer I designed but never built had two 28 inch wide murphy beds side hinged from each sidewall. They could be used together to form a full or a single with a tabletop folding down from the other. With both folded up the floor space lost was only the thickness of the mattress on each wall.
This provided over 100 cubic feet of cargo area or permitted transport of one ATV, 2 dirt bikes or 4 bicycles plus some additional gear.
Overall trailer width was 5 feet and sidewall height 4 feet with the beds hinged at the floor.
Entry to the trailer was through a pair of barn doors at the rear. There was an escape hatch window at the front. The entire galley was mounted to the doors which opened 180 degrees. Overall length of the trailer was 8 feet - 6-1/2 feet for the beds, 1-1/2 feet for the galley
There are several CT conversions built somewhat this way.
M C