I tried this way for many years. Work hard for 4-5 years, then one year of relaxation and not working at all. Was fine during the year of relaxation, but at the end of the "work" cycle it always felt like shit.
What I found working better is instead being able to have the cycle nailed down for each day + the weekends. Absolutely nothing after 4pm related to work, until I'm back at work in the morning next day. If I even start thinking thoughts related to it, I actively push them away, even if it would be helpful.
In the beginning, it was really hard, as I'm used to just walking about and thinking about work. But now after a while, my brain automatically go into leisure mode at 4pm, and it finally feels like I get actual rest between leaving and coming back to work.