No, not all pigs like to get dirty, although wallowing in mud is common.
Why Pigs Use Mud
Temperature regulation: Pigs lack sweat glands and use mud to cool down.
Pest protection: Mud shields against insects and parasites.
Social behavior: Wallowing can be a group activity.
Skin health: Mud moisturizes and prevents dryness.
For pigs, mud is mostly practical rather than recreational. Those raised in clean, comfortable environments may not feel the same need to get dirty.