I'm quite sure that they were not: anxiety-driven avoidance is far more stressful and exhausting for me than any fruitful work. And having a constant feeling that you ought to be making up for lost time is a serious bar to genuine relaxation.
I did need a break after my last job, and it's very possible that contributed to the problems I had, but this was definitely a bug, not a feature.