Strictly speaking, most veg we buy in shops is fertilized with manure. But it's cow manure and cows only eat grass.
If your poo pumpkins are feeding on vegan poo, I guess it's ok. If it is carnivorous diet poo, it might not be because there is a bunch of bacteria associated with animal diets. I know cat poo is dangerous - you can get Toxoplasmosis.
RE: Poo Pumpkin Mystery? 🎃 Who's Eating The Dumpkins? 🕵️ Where Are The Septic Squashes? 💩