Ayurvedic medicine is a similar idea from the indian subcontinent. Foods have different medicinal properties like hot/cold, heavy/light, etc and those foods interact with your body type (which itself is a confluence of three factors called dosha that everyone has but in varying ratios) in order to produce certain effects.