you can sleep just like this. It’s a lot better when your bike has a center stand though. Sleeping on a bed that’s angled leads to some pretty traumatic wake ups.
Slept like this many times. Usually forced into it by pushing just a little too hard. For me it’s the hallucinations I get while riding tired. After the first one or two it’s bedtime.

Good night Irene