While you generally cannot "rent a goat" like a library book, specialized goat rental companies do exist. They provide goats for specific purposes such as:
Availability varies by region, and arrangements typically require a deposit, fencing, and care agreements. These are commercial services, not casual rentals.