I attribute to my robust immune system to the amount of dirt I ate as a child, I was a digger in the school yard, and I liked playing in mud - while being a thumb sucker well into elementary school.
Most peanut allergies are noticed during infancy. Advising infants eat more dirt is probably not a good solution to reducing peanut allergies on the whole.