There are tons of examples OP could have chosen, this was just one that they did. It’s not the only example, but not everything needs to be exhaustive to be valuable for thought and discussion.
Wow! I'm a total weirdo and I can only think of like 4-5.
As for reaching personal balance independently, it's a much shorter path to self acceptance moving from environments that stifle you to one's that encourage. Perhaps largely because it answers the question of whether there might actually be something wrong with you, and not everyone else. Before even getting into the possibility of actually thriving.
Another one I’d use is leaving an insular religion but the way that works tends to mean fewer people have observed it (e.g. if you don’t hang around with fundamentalists you probably haven’t witnessed it first or second hand).
In general I agree with the premise of "You need to find people who are capable of understanding you".
It's actually a combination of that and your feeling about yourself. I'm not sure how to describe it, but I'll just call it once you're in balance with yourself, i.e. in an okay(maybe not perfect or ideal) mental state, and you have some sort of pillar you can lean on(your beliefs, your understanding of the world, etc.), then its no longer about your desire to get others to accept you, but rather putting yourself in an environment where you feel okay.