Most beds are against the wall and would work with this kind of simple DIY setup. I kind of like the tree house carpenter nature of the thing!
The same kind of thing could be integrated onto the back of a dresser or a side table. I am sure the an inexpensive holster could also be fixed there.
--I am thinking of setting up a similar rig to hold a pistol grip shotgun.