This depends heavily on how good you are at setting boundaries. How good are you at saying no to your boss and teammates? Depending on culture (yours and the company's) this can feel impossible.
Being unable to say "no" is also a great way to burn out in the first place. The advice of "just slack off" is often given in cases like these, but... if the person could do that, would they be burned out in the first place?