This has happened to me a couple times. Feeling tired of what I call the "tech rat race".
Both times some time off and working on an idea for fun sparked interest again. I would say if you take time off, don't feel pressured to do anything tech related. At some point you may get a creative idea and then just follow that. One time I finished a gameboy emulator I had started a few years ago, the other I made a little video game. And if you don't get the urge to do anything tech the whole time you're off, at least you'll have some R&R to go back to work with a fresh mind.
Both times some time off and working on an idea for fun sparked interest again. I would say if you take time off, don't feel pressured to do anything tech related. At some point you may get a creative idea and then just follow that. One time I finished a gameboy emulator I had started a few years ago, the other I made a little video game. And if you don't get the urge to do anything tech the whole time you're off, at least you'll have some R&R to go back to work with a fresh mind.