Is it safe to feed bacon to a pet pig?
Humans and swine/pigs share very similar anatomy and physiology. Dietary requirements and restrictions are similar between pigs and people. Feeding uncooked pork products to a pig (or a person) can lead to cholera or Trichinosis, but cooked pork is fine in moderation. There are of moral considerations for the consumption pork by pigs and people (Deuteronomy 14:8), but also like us they are omnivores and need a significant percentage of protein in their diet in commercial production it is not unusual to feed pork offal to pigs that will go to market, chances are if you eat pork, you have eaten pork that has eaten pork. In fact the FDA has guidelines on preparing it.
Moral/ethical questions about having a pet pig and preparing cooked pork products for either of you, is beyond the scope of this site. Health wise, the health/diet impacts for either of you are essentially the same.
Comprehensive answer, so we can conclude that it is definitely safe if prepared correctly but ethically questionable, thank you