Not Recommended Long Term
It is generally not recommended to keep goats and sheep in the same pen long term. Goats are browsers that prefer shrubs, while sheep are grazers that prefer grass. Their behaviors and parasite risks also differ.
Exceptions
Short-term co-housing may work with careful management, separate food sources, and parasite control. Consult a veterinarian or livestock farmer for guidance.