I’ve had piles of straight horse manure before and they were absolutely chock full of worms! The good kind I think. Even though it didn’t officially compost, being turned into worm castings is a pretty worthy endeavor. I couldn’t say whether the biomass was infested with nasty pathogens or not.
I had one lovely pile I tended all winter. Scraped horse and cow poop and had visions of spreading it and how much it would improve my garden. One day I went out to feed and it was gone!!! I laugh about it now but I was just crushed! And pissed! Really really pissed!