SWE doesn't have to be boring and repetitive. There are lots of interesting problems in embedded and HW system design/scoping (software engineers can be really useful for providing requirements to these systems). I work on cameras, specifically on dynamic controls (designing the algorithms + implementing in firmware) and it's so much more fun for me than writing web services, regardless of the scale. There are lots of jobs like this that make programming by, it's just that getting your foot in the door is hard because you have to have the experience. But what you don't have to do is grind Leetcode to get those jobs. You might just have to be willing to take a more junior position, since embedded is different. It took me 3 years to get here from a regular backend c++ job where I wrote the network backend for a database.
The only downside to these jobs is that they tend to pay less, despite them being very challenging.