Also, with the right community, it is possible to have plenty of "socialization" with other kids. My family participates in a parent-led co-op that allows kids to benefit from different strengths in different parents and to have lots of friends.
As my kids are neurodivergent, I think this environment has been safer for them and allows them to focus on their passions. There is still some peer pressure re: neurodivergence, but I think it was less severe than when I was in public school with less obvious neurodivergence.