If you've just been a "turn the crank" developer implementing someone else's sprint-scoped tickets for 20 years, you probably topped out after around five years. (Or you're doing all the interesting stuff outside work, in which case... you definitely have project management skills.)
A strong senior should be able to do any of the roles all the way up and down the chain, including "product manager", "business analyst", etc. It's an issue of time and scope rather than skill.
note: I'm aware that most business analysts are domain experts, my point there is that a senior can both analyze a problem and create a solution and can interface with domain experts where needed.
https://www.amazon.com/Docs-Developers-Engineers-Technical-W...
I'm think I could do with reading that. As could the team I'm on.