In HS, I could touch the rim on a vertical jump and I was about 5’10. So I figured I had above a 30 inch vertical considering I had an average wingspan, although I never measured.
I could grab the rim off one step and dunk a volleyball however not a basketball. Couldn’t palm it unfortunately. I was also more of a 2 foot jumper instead of one (which requires more fast twitch and reactive strength). I could grab the rim with one foot but it felt awkward.
I ran a 51.x 4x4, 2:05 open 800, and a 4:48 mile. Didn’t run many miles per week but I was able to squat almost twice my body weight. I was about 140 and could do 255.
To answer your question, I’d say it’s possible, but you’d need to do a strength program based on plyometrics, lunges, and squats with good form. If you’re a one foot jumper, sprints and bounding work well. Also Bulgarian one leg split squat.