Some folks are raising the headboard end of their beds a few inches for improved nocturnal glyphic drainage - something coined as "inclined bed therapy."
I did something similar to reduce my snoring. Many people do it to help prevent heartburn at night. Makes one wonder how humans slept in nature before beds became a thing.
Your comment prompted me to look for images of chimpanzees sleeping on google. A lot of them are putting their arms under their head just like we would because of their shoulders. Others find a root or rock to rest their head on (and they are also able to build temporary beds/nests in the tree at an incline). So I figure it'd be mostly the same for us.