I’ve played a lot of WoW sitting up in bed. Lap desk plus laptop, wireless mouse with a hardcover book to set the mouse pad on. Pillow under my knees so they don’t get stiff from being locked out straight. I got through all 25 or 40 or whatever renown levels of Plunderstorm that way, even though I had to take frequent breaks when my recovering broken ankle couldn’t take sitting still that long.
I know that won’t work for everyone - for example, you have to be able to sit up pretty far to play that way, and I know that’s not the case for everyone who’s confined to bed. And not everyone has a laptop. But I wanted to put it out there as a possibility if you decide not to risk doing it on the Steam Deck.