I was lucky enough to be able to take all of last year off from work to focus on my mental and physical health.
It is probably dependant on people (and ofcourse their situation), but when I see someone talking about overcoming burnout by taking a month off I can't help wonder if they are diluting themselves into believing that everything is now fine, or if it was truly burnout to begin with.
If possible, make sure you give yourself enough time to deal with burnout. There is no shame in needing to take extended time away. Your health is more important than a career.