The easiest way to do this is to go to a small company where everyone wears multiple hats. 50 people is probably the upper limit.
Consulting companies are ok, but there you pretty much build what clients want. If you can find one that focuses on an interesting domain, that can be a good fit.
At small companies you get to be part time product manager, project manager, customer support, QA, developer, doc writer, and more. Especially if you are relatively senior.
For some folks I know, this is a nightmare. I personally love it. Give it a go!
How can you find such small companies? I'd look in the "Who's hiring" threads and on sites like https://www.builtincolorado.com/ (if they exist for your area). Also, ask in your network.