All joking aside, random food spoilage organisms may not be sensible things to deliberately ingest.
If any animal products are part of your compost, I strongly urge you to drop this, erm, creative idea. And even if not, it seems highly dubious. Should you proceed, use greater caution than...