A friend of mine had some minor mental health issues going into their 20s. Lack of meaningful opportunity paired with obscenely expensive and inaccessible healthcare helped drive those to become major health issues, including drug addiction, due to intoxicating themselves to "help" distract from their grim reality.
Absolutely I think it would have been different had they had access to general preventative healthcare from the start so they could get routine dental, physical, etc. Would they be cured of their mental health problems? Probably not. Would the effects have been less destructive? Yeah, I would bet on it.