My cousin had a petting zoo and her potbelly pig lived with goats and they all did just fine. The pig was the queen and the goats new their place an pretty much left her alone.
No they can not on my farm we tried that I had a dead goat with in a week pig poop is very toxic to other animals and, pigs are big and surprisingly fast and can and will hurt other animals if mad or distressed