โ โ โ โ The preventative, treatment & cure for insomnia and mental illnesses (including the diseases: anorexia & pellagra) is niacin (vit. B3). The thiamine/vitamin B1 deficiency disease beriberi also entails food phobia (anorexia). Research Dr. Abram Hoffer. Anorexia is a vitamin-deficiency disease.