Here's research into intentional infection with a parasite to treat autoimmune diseases
https://pmc.ncbi.nlm.nih.gov/articles/PMC5401880/
https://en.wikipedia.org/wiki/Old_Friends_hypothesis