This is really true for me, great point. There have been days where I had less than 6 hours of sleep and it’s made me very easily bored and disenchanted with the work that I had previously enjoyed. When I’m very well rested, I could probably enjoy most things for a little while.
To second this... If there is any chance you have obstructive sleep apnea (big neck? snore a lot? have trouble staying awake during movies?) get a sleep study ASAP. Treating that can be life changing.