I've taken mental health leave (not due to a PIP) and my productivity before and after was significantly different. It was great for my employer that I took it. I'm quite sure I would've eventually ended up with a PIP if I hadn't taken it sooner myself, and the best remedy on a PIP would have been to take mental health leave. Not as a strategy as such, but literally because it would have been the best solution (and I think the only one).