Is it true that poor personal hygiene may be beneficial to good health, as in creating a better immune system?

Untested. A current popular theory among some doctors is that we raise our children in too sterile and protected an environment. Because of this they are not exposed when very young to a variety of allergens which keeps the immune system healthy and focused. They then consider this might be the cause of some diseases later in life, especially asthma.