Thanks to magic of internet, you can find programming coaches for relatively cheap:
https://mentorcruise.com/coach/coding/
Of course for most people "relatively cheap" is the same as "too much" which is why you're looking for a mentor and not a coach.
Coding is all about problem solving, which is typically the easy part of anything meaningful. Finding the right problems to solve is much harder.
I think the type of people that would be good mentors to me are beyond the point of needing any amount of money that would be reasonable to charge for their time. I think most people capable of meaningful mentorship, including myself, will likely be doing so for reasons other than financial gain.
That said I think getting coaching for various skills is totally valid, including coding. What I need, personally, is more about cultivating a healthy mindset about technology, strategy, and leadership. There are probably few people in the world that have something meaningful to say about those things.
So yes, being proactive about finding a mentor is a spot on advice.
I think we tend to let mentoring happen naturally in that space. Devs naturally learn from more experienced folks as they work. Sadly I’ve spent a huge chunk of my time working solo over the last 5 years. I’ve recently joined a FANG company and I’m excited about the prospect of finding a mentor there. The networking aspect alone is pretty killer. In general it’s nice to be somewhere that my peers push me on a daily basis. This reminds me that I need to be more proactive about finding a mentor.