That all changed when I got a sleep evaluation and realized I had severe sleep apnea. My quality of sleep was terrible. As a result I had zero motivation.
I got a CPAP machine, and after an initial period of adjustment, it was a profound change. The year after I received the machine was the most productive in my entire life.
Take sleeping seriously. It may help you in ways you never imagined!