36x80 or 36x72
Generally colleges or other institutions use this size bed.
In most cases rough opening is 38 1/4x82 1/2.
Add two inches to height and width. So a 36 x 80 door roughed out is 38 x82. This is with doors only. Windows you add 1 inch to the height and width.
There is a good possibility that it can, there are some details that you should be aware of:some sofa have detachable armssome have detachable legsEven if the sofa does not have the above options the design of the arms of the sofa will be your biggest hurdle, try to pass it through the opening at a diagonal, hopefully the clearance on each side of the doorway will not obstruct your move. You can also gain some doorway clearance by removing the door and or doorstops/jams.