That's a smart thing to do. I have also noticed that there's different type of work that can be done better when sleep depleted. I'm working 7 days / week nowadays and one day I will usually be pretty sleep depleted. I have noticed that when I'm sleep depleted the most minor distraction can blow up and take out an hour or so. So I plan to do deep work on that day and ideally it's the deep work I have been doing on the day prior so there's no energy cost associated with switching. And it depends on the type of task as well. I.e. I will struggle with boring front-end implementation on sleep depletion, but I will be able to solve the most complex architectural decisions no matter how little energy I have because it just sucks me in.