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.
Is IBS an autistic trait? Because God damn I don’t need two punches to the face this morning.
Edit: This was a joke. I should remember I have to say that here.
Even if it was just meant as a joke, there is actually research in this general area:
https://pmc.ncbi.nlm.nih.gov/articles/PMC9355470/