So why do programmers still sleep less than they need to? Often it's because they're working long hours, and to get time for the rest of their life they cut back on sleep.
If that's you—it doesn't have to be that way. You can set boundaries at work (https://codewithoutrules.com/2019/04/03/setting-boundaries-a...), you can say no to your boss (https://codewithoutrules.com/2018/08/16/how-to-say-no/)... and you'll be doing your employer a favor because your output will go up.