Edit: oh I see now your suggestion is to craft an invariant as reward for your labor after a specific period of expected stress whether or not it's successful. That's probably not a bad choice, as long as the choice to go on a break precedes the stressful period
There's a whole sub-type of burnout which comes about even in relatively low stress environments.
If you or anyone you know feels like that, then it's a serious outlier condition worthy of academic study.
Why not? Let's bet a few people do. There are certainly people who live their life in a permanent joyous state, no matter what. Rare, perhaps but I wouldn't dismiss their experience as a condition.
It can be boring, mundane, unfulfilling, uninteresting, repetitive, etc... That doesn't generally produce a traditional "stress" but does wear on you emotionally.
In fact jobs I loved and cared about have often brought much more stress exactly because I cared about the outcome, and when I failed to live up to my expectations at that job it felt like a personal failing and I was letting everyone down.
Human brains arnt built to withstand the onslaught of meaningless emails and endless reports and presentations. Offices are just awful in many instances.
Burnout happens when stress isn't followed by rest. When stress feels endless. And when stress feels like it's pointless.
The solution therefore is to make sure you always know why you're working so hard, build in reward for your hard work, and take a break after a specific period of stress.
Always have the end in sight. Always know your goal. Always make sure you feel progress toward the goal.
Crucially, when the specified period of stress comes, take a fucking break. Whether you're done or not. Very important.
I myself often fail to follow these lessons. So I write them here to help me remember :)
PS: for a more in-depth exploration of these 3 rules, read Peak Performance. It helped me a lot.