In autism case that actually happened first. Parents began to restrict gluten out of the diets for kids with ASD and were adamant that this helped them a lot. The research community was highly skeptical and even derisive of this until they started finding real gut brain connection and proof in trials and mice studies. Hopefully parents of children who have such conditions can chime in and corroborate this history.