I had a problem. I have a fan which, when clipped to my bed, would not bend enough to blow on me. So I needed a horizontal shelf to clamp it to. This shelf has 2 vertical pieces to straddle the foot of the bed.
A shelf like this could be made larger and could really hold anything that's not too heavy. And it's easily removable.
(Like that mauve blanket? No, not pink, I said mauve.)