Yes, diet can play a role in managing dandruff. Not consuming enough foods containing zinc, B vitamins, and certain types of fats may increase the risk of dandruff.