kind of regret not doing this myself, especially during my absolutely cooked COVID semesters during undergrad. now having completed undergrad and grad school, i am more convinced than ever of the truth that as much if not more learning happens outside the classroom, and certainly more personal growth. had i been of this mindset while i was still a student, i probably would have taken a gap semester at some point.
i think if you need it solely as a reprieve from academic burnout, then by all means get some much needed rest, but if you can take a gap semester that would be also personally edifying in another way, absolutely go for it! maybe take on an internship, maybe do some traveling, maybe do some reading on topics you're tangentially interested in but aren't the core focus of your studies, maybe take time and invest in relationships, or pour into your hobbies, grow yourself in ways that make you a more well rounded and fulfilled person. the school to career pipeline exists for convenience and isn't going anywhere. take your time.