Is there a law against eating your own pet if that animal is considered a livestock in agriculture?

I bought a pig from a pet store that is trained as a pet, but what if I reconsider that pig as a livestock and eat it.
Update: I live in the United States.
5 answers 5