VRChat has a feature where you can set an angle offset ("horizon adjust") for all of your tracked positions (headset and controllers). So if you're laying down facing the ceiling, you can press a button and the game will treat it in-game as if you're standing up looking forward.