I'm struggling with this myself. Some of my conclusions so far:
* When I am sleep-deprived I am less productive. So I spend more time doing "work". Then I have less time for everything else I want to do (family, cooking, sport). So I take more time away from sleep. And the cycle repeats. Sleep deprivation is self-perpetuating.
* What I do at night, when I am exhausted, in 2 hours can be done in the morning in half an hour.
* I get angrier and negative much more easily when I am sleep deprived.
For my particular case: limit the time dedicated to "work" and do the other things in the time it is usually dedicated to it. Stay away from screens past 11. Listen to ebooks for falling asleep. Use the good sleep energy to finish work stuff earlier, do more exercise, etc. Break out of the vicious cycle and start a virtuous one.
I still fail at doing it from time to time. I think this must feel similar to what relapsing alcoholics feel. I try to not be too hard on myself and keep trying.