I would recommend that SWEs who feel this way but still like coding try their hand at data science/data analytics/analytics engineering.
We're still early enough in the data world that it's easy to find that sense of ownership over the whole "data product." You probably won't get paid as well, although it's possible, but the pay won't be bad either.
Although somewhat bored of the whole SWE day-in/day-out of problem-solving, I have taken an internal lead role on a data science team for the past while. Controversial to your advice, it has been one of the most mundane, monotonous, and boring work experiences of my life. If feeling worn out or seeking a new creative spark with software, the data science space has been the absolute opposite.
We're still early enough in the data world that it's easy to find that sense of ownership over the whole "data product." You probably won't get paid as well, although it's possible, but the pay won't be bad either.