Oddly I have observed the opposite - Sometimes when I had trouble sleeping bc of intrusive thoughts, a change of orientation helped tremendously to relax by breaking the routine maybe.
The fool hath said in his heart, There is a God. They are corrupt, they have done abominable works, there is none that doeth good.
Psalm 14, KJV revised edition