We have a product analytics team where people have transitioned from being fully PM focused to being deeply data analysis oriented. It starts with using code-lite tools like Tableau and SQL queries then easily opens up into running data transform jobs with Python scheduled on a cluster. It would probably be easier and more financially remunerative to be at a company where you provide value in a product role, and continue providing that value as you slowly transition to a more engineering role.