There's an earlier post that touches on this, but yes.
If you think about the world a few hundred years ago and for all of prior humanity - people lived mostly in small communities where they would know most people and most people would know them. Lives were simpler in sensory terms - no screens, no cars, no bright lights, no planes, no harsh chemical smells of disinfectant or perfume. People were often born into trades. Being otherworldly was interpreted as religious or even sanctified - you could retreat from life and be a monk or nun, or a hermit. If you were wealthy, or male, you weren't really expected to have skills of looking after yourself. Someone else would provide food, clothes etc....
Modern post- Gove education, compounded by lockdowns, is causing a mental health emergency. Referrals to camhs went up, iirc, 81 percent 2017 to 2019, then a further 60 percent 2020-23. I am not great at maths, but I think that means where 100 referrals were made in 2016, in 2022 there would be 100+81+(60/100 of 181) = 289 referrals. I think this is a combination of social media and the online world, and the deliberately harder, overpacked curriculum with no proper routine arrangements for those who struggle academically (did you know, a perfectly decent mathematician, doing everything necessary at age 16 to pass their maths GCSE, will get about 25 percent on the higher paper? Imagine what it does to you mentally to not be able to do 75 percent of a paper - you really wouldn't feel like you were any good at maths, would you?)
Autism isn't "caused" by all this. People were always and have always been autistic. It's just that they didn't clash with the expectations of their environment so routinely; the world was by and large, in some ways, less ill fitted for ND people. (Plus there was no language for autism, outside of "eccentric", "loner" type words).