Anyways, those feelings aside, I can recommend to do some contract work. Contract work allows you to switch work frequently and take some longer breaks in-between whilst charing good rates whilst you work in order to afford the breaks.
Additionally contract work allows you to change up the projects you work more easily. In your case I'd recommend to look for a contract role where you help with the maintenance of some old boring tech project. These projects don't normally attract career hungry over-achievers which means you'll likely end up on a small team (because old boring tech projects don't attract lots of business investment) and a team of fairly mellow and chilled co-workers, more like the 10am-4pm type of guys and girls.
Also as a contractor you can work more flexible. I for instance have reduced my work days to only 4 days a week which has been a really nice change this year.