I've seen folks turn an entire drop bag/bay into a crib. I never have enough space to give up a whole bay, but it looked comfy.
I used to rig dry bags around the sides to build a soft railing.
Another option is a car seat, with the seat belt removed, strapped down to the deck.
(seven two 0)-298-2242