Maybe. As I don't care for racials when choosing races they can do what they want. I wonder why an undead would eat corpses or eat anything. However, I also don't get it why elves (can) do it.
I like the skill for elves a lot as a cultural trait. It even has some real life reference.
From wikipedia:
https://en.wikipedia.org/wiki/Cannibalism_in_humans"In some societies, especially tribal societies, cannibalism is a cultural norm. Consumption of a person from within the same community is called endocannibalism; ritual cannibalism of the recently deceased can be part of the grieving process or be seen as a way of guiding the souls of the dead into the bodies of living descendants. Exocannibalism is the consumption of a person from outside the community, usually as a celebration of victory against a rival tribe. Both types of cannibalism can also be fueled by the belief that eating a person's flesh or internal organs will endow the cannibal with some of the characteristics of the deceased"