The trouble with pork was trichinosis, a disease related to pork if it is not well done. Has nothing to do with how dirty they are or what they lie in. Bears can also give you trichinosis, so cook the meat well if you kill one and eat it. Always cook pork throughly. That is why pork was forbidden to eat, lots of people ate it, back in the day, and got sick. It is fine as long as you cook it all they way through, in fact I eat lots of pork. Yummy!
I don’t even want to eat well cooked tapeworms. Feh!