No, balding is purely a hormonal thing. Remove androgens, remove balding. With zero change in behaviour...
Who do you think triggers these hormones to start being produced?
There's a lot we can do with science that affects our bodies, i.e. steroids. Your citing behavior after hormone manipulation doesn't make sense.
God works slowly on people, once he makes a decision your basically stuck with it. He would not cure balding magically or otherwise just because a person changed their character or repented and reformed.