If you remove one side of the bunks and turn it into a closet, and you are planning on hanging your clothes from a cloths bar, you will have a lot of weight on that bar and the bouncing will eventually cause failure.
Here's a suggestion. I did this once in a bed room we turned into a closet and it supported a horrific amount of clothing!
Take 2 two-by-fours and put them upright. Then support the clothes bar from the top of 2x4's. Or as I did, I drilled large holes so the pole would go through them. Then put one support pole in the middle the same way, with a hold large enough the bar will slide through it.
Attach both 2x4's to the wall and the middle one, toe-nail it to the floor so it won't move. You may want to put a shelf over the top, then anchor the middle one (top) to the shelf to keep it from moving.
The weight of the clothing is then, NOT pulling on the wall, but on the 2x4 resting on the floor. But it will also be attached to the wall on both ends, so the wall will assume some weight also. This will make a very stable hanging clothes bar that will be able to withstand the worst of bouncing.
And yes, I suggest using a metal pole for the clothes bar, not wood.
This worked very well for us, especially since the house was rental, and when we moved out, we simply removed the uprights and the whole thing came down. A bit a spackling over the holes in the wall, and fresh paint, and we got all our deposit back. Worked great. It should work for your camper too, except you can install it a bit more permanent than we did in that house.
(I actually made 3 racks, the entire length of the room, about 5 feet apart, enough space between them we could walk. Back then we had 2 young kids and I was in the military, so we had a BUNCH of clothing, military and civilian.
Funny, now almost every item of clothing we have fits comfortably in the camper! Closet in the house is like a skeleton! How times change.