Theoretically, almost everything about our body is encoded in our DNA, including the reaction of our body to different groups of food.
Now I don't know if we reach this level in reality, but I just bought for myself a DNA Health package from MyHeritage. I'm currently more interested in health patterns than in diet.