I agree. A solid 2 week vacation with absolutely no contact with work will be helpful.
Coming back, however, is going to be difficult. If the workplace is setup for inescapable "nose-to-the-grindstone" KPI's that have consequences for someone that has been underperforming, it could get ugly if the OP needs more time to reset themselves.
In many places, however, a few months of slump isn't going to lead to a PIP if the OP can go through the motions and practice enough self-care to gradually get better. I think enough folks are going through this now that employers are aware it's widespread problem. Some will handle it better than others, of course.