What also helped me a lot is to deactivate notifications of every communication channel ( email, messenger even the phone )
If notifications are turned on, it feels like other people have control over my mental state, because if an incoming email makes a ping it means that the person that just sent me a message caused my focus to shift in the work I am currently doing. Even if it feels minimal this compounds quite a lot over the course of a day.
I'm currently reading "Stolen Focus: Why You Can't Pay Attention—and How to Think Deeply Again" by Johann Hari and there's an explicit mention of the negative effect on people that immediate notifications bring. Just wanted to mention that it's not only you.
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.