When I was young, I would play in my (outdoor) sandbox and then lick the dirt off my hands, because it tasted good. I still got asthma, though.
My hypothesis for why children in rural areas get less asthma is because there's less air pollution, not because they eat dirt.