I've found with over 2 months of sleeping in different and random places, no tent or roll matt either, a bad nights sleep certainly effects the next day.
However with centipedes and other critters crawling around and over me, perhaps its best if i didn't sleep…
Also my old shoulder injury means i can't really sleep on my preferred side, and if i try to sleep on my side when using the hammock i fall out.
On occasions i take out all my spare clothes from the rucksac and spread them out, the odd rock/cave/cliff edge i've slept under/on sometimes aren't too flat and smooth.
I'm wondering if your bed is too soft or hard for you, or perhaps your not relaxed when you go to bed, by being tense about things you'll not settle into a natural comfortable position.