There is no code that tells you that your bedroom doors need to swing in for a bedroom.
Closet door swing in or out.
An inward opening door should swing in the direction needed to provide adequate passage.
A left hand reverse system is the equivalent to a right hand outswing.
Moving the storage on the right side wall to the far wall would still be an option.
If the door opens inside interior inside the room it s considered inswing.
If it opens outside the room it s an outswing door.
2 sacrifice 3 of shelf and rod space in the dressing area and move the pocket door opening as close to the window wall as it can go.
To determine if it s a right hand door or left hand door stand in front of the door so it opens towards you.
But it is usually not a good idea for them to swing out.
If the hinges are on the right hand side on an inswing door the door is right handed the door is a right hand reverse if it s an outswing.
If the door knob was on the left and the hinges on the right when the door swung in for example the easiest way to transition it would for the door knob now to be on the right and the hinges on the left as the door swings out.
Under ada guidelines a door may swing out of a room as long as there is a 48 inch clear area in front of the door to allow those in a wheelchair to safely maneuver.
In hallways it might even be comical to wind your way around 7 open doors from both sides.
There would be no lost storage space and the door could be safely left open.
If it opens outside the room it s an outswing door.
1 make the door a left hand in swing and move it as close to the bathroom wall as possible.
Positioning them on the inside makes them secure and keeps burglars from unhinging them.
To maximize wall space here s what i would do.
Following the flow of the doors will help lead people out of an unfamiliar building.
Halls are wider and are often designed with niches for doors to swing out but not into the main flow of traffic.
However in commercial or public all doors will swing out to allow panic traffic out of a building in an emergency.
This option would be awkward with a slight chance of injury when leaving the closet.
As you mentioned the doors present an obstruction in spaces.
We usually install the hinges on the inside of the jam.
For the door to swing in there must be a full 60 inches of maneuvering space in front of the door as well as 18 inches of clearance along the side of the door.
Doors around the outside of your house swing in or out depending what type of door it is.
For example when we install entry doors in your home we almost always hang them to swing inward.
If it bumps or blocks passage because of a wall barrier or other object when you open it such as a toilet or cabinet the door should swing in the opposite direction.