Eating a pig is forbidden but using some parts of its body is fine.
What the Scholars Said
The Maliki school and Shaykh Ibn Taymiyyah considered all kinds of hair from animals to be pure, whether it is a dog or pig.
Since several Muslim scholars said that all parts of a pig are impure, including its hair, it may be more pious to avoid using pig hair whenever possible.
Shaykh Mustafa Umar