There is a drug called ivermectin that will kill all invertebrate without harming gut bacteria. I'm not sure what gave you the idea [ ... assumption] that treatment against invertebrate parasites automatically is detrimental to our gut biome. And I definitely don't follow your logic towards the end, but have a look at ivermectin it is a hell of a drug.