As a society we should figure out some sort of systemic work exchange program where people suffering from burnout can leave their career for 8 months to work in a brewery or be a fire watcher or herd goats or whatever until they figure out that, "damn, my old job wasn't so bad after all." Either that or they become a full time goat herder...
It's not systemic, but I'm unironically doing this. I live in a LCOL city and I just walked away from my previous career path and am working in a lingerie shop. It's definitely not a forever thing, but the time to get my brain together is invaluable.
You do realize, illegal work environments and unreasonable expectations on developers is "best practices" in software development. As a society we need to end illegal best practices that require developers to work so hard they have physically damaged brain issues from the overwork and stress afterwards.