I did a quick search and actually find something quite different. There IS a linkage between religion and cannibalism!
The concept of sacrificing something important to the gods or spirits was common in religions around the world. Usually, the more important the god or the request, the more important the sacrifice had to be. The most important thing which could be sacrificed was, usually, a human being. Typically, the person was sacrificed for the sake of the welfare of the entire community — to appease and angry god who had cursed the tribe, to plea for better crops, to ensure success in a coming battle, etc. [source]
For the Aztecs, consuming human flesh was a type of communion, establishing a sacred relationship between humans and gods. Because the people who were ritually sacrificed were "impersonators" of the gods, the Aztecs saw themselves as not consuming another human being, but as consuming a god. Such a role was regarded as an honorable and even coveted death — it had about the same status as a heroic death in battle. The sacrificial victim received a penitential liberation from this plane of existence, released to a new life with the gods.
In the bible, Lamentations 4.10, as a curse Zion and as the fury of god, "The hands of compassionate women Boiled their own children; They became food for them Because of the destruction of the daughter of my people." The god has caused cannibalism.
If you do not follow god's law, Leviticus 26.29 And you shall eat the flesh of your sons, and the flesh of your daughters shall you eat.
Here is a more detailed list from Skeptic's Annotated Bible:
Sometimes God forces people to eat other people, often their own children or other family members.
"I also will do this unto you... You shall sow your seed in vain, for your enemies shall eat it." -- Leviticus 26:16
"And ye shall eat the flesh of your sons, and the flesh of your daughters shall ye eat." -- Leviticus 26:29
"And thou shalt eat the fruit of thine own body, the flesh of thy sons and of thy daughters." -- Deuteronomy 28:53
"And toward her young one that cometh out from between her feet, and toward her children which she shall bear: for she shall eat them." -- Deuteronomy 28:57
"Through the wrath of the LORD of hosts is the land darkened, and the people shall be as the fuel of the fire: no man shall spare his brother. And he shall snatch on the right hand, and be hungry; and he shall eat on the left hand, and they shall not be satisfied: they shall eat every man the flesh of his own arm." -- Isaiah 9:19-20
"And I will feed them that oppress thee with their own flesh; and they shall be drunken with their own blood, as with sweet wine." -- Isaiah 49:26
"And I will cause them to eat the flesh of their sons and the flesh of their daughters, and they shall eat every one the flesh of his friend." -- Jeremiah 19:9
"Therefore the fathers shall eat the sons in the midst of thee, and the sons shall eat their fathers." -- Ezekiel 5:10
"I will not feed you: that that dieth, let it die; and that that is to be cut off, let it be cut off; and let the rest eat every one the flesh of another." -- Zechariah 11:9
If god is all powerful and mighty, should god stop cannibalism instead of cursing cannibalism to happen to human?
ps In a 2008 news report, Cannibalism suspect said 'God' told him to kill.