Even if it was just meant as a joke, there is actually research in this general area:
The recent finding of the microbiota–gut–brain axis indicates the bidirectional connection between our gut and brain, demonstrating that gut microbiota can influence many neurological disorders such as autism. Most autistic patients suffer from gastrointestinal (GI) symptoms.
That’s because most, if not all, ASD traits are not exclusive to neurodivergent individuals.
The difference is in the degree to which those traits/symptoms are exhibited and/or how much they affect one’s ability to function.