Eating human flesh can lead to transmitting parasites, as can consuming animals fed on human feces (pigs or fish). The big example of this is Kuru (https://en.wikipedia.org/wiki/Kuru_(disease))
So: avoid human flesh to avoid concentrations of mercury, dioxin, parasites and prion-related diseases.