According to Wikipedia, eating feces occurs in a wide range of circumstances: in invertebrates; in vertebrates including great apes; as ancient and modern medical treatments; as sexual fetish: in some mental illness; in pica; in developmentally abnormal children, or normal babies; in trapped miners. While some parasites can be spread this way, I can find no evidence that bacterial infections are. It seems unlikely that indirect ingestion of fecal matter can cause gastrointestinal infections when direct fecal ingestion seem not to. Is there really no evidence base for the public sanitation interventions against diarrheal diseases?
See also my RG question on Ingestion of Feces or Urine.