סימן צא סעיף ב
כָּל אֳכָלִים וּמַשְׁקִין שֶׁהֵם מַאֲכַל בְּרִיאִים, מֻתָּר לְאָכְלָן וְלִשְׁתּוֹתָן לִרְפוּאָה, אַף עַל פִּי שֶׁהֵם קָשִׁים לִקְצָת דְּבָרִים וּמוּכָחָא מִלְתָא דִּלִרְפוּאָה עָבֵיד, אֲפִלּוּ הָכִי שָׁרִי. וְכֹל שֶׁאֵינוֹ מַאֲכַל וּמַשְׁקֶה בְּרִיאִים, אָסוּר לְאָכְלוֹ וְלִשְׁתּוֹתוֹ לִרְפוּאָה. מֻתָּר לֶאֱכוֹל שְׂרָפִים מְתוּקִּים (מיצים סמיכים) (זעפטל) וְלִגְמוֹעַ בֵּיצָה חַיָּה כְּדֵי לְהַנְעִים אֶת הַקּוֹל, וְאֵין בּוֹ מִשּׁוּם רְפוּאָה, כֵּיוָן שֶׁאֵין לוֹ מַכָּה בִּגְרוֹנוֹ.
All foods and beverages which are consumed by people who are well may be eaten and drunk as a cure, even if they have some bad side effects, and it is [therefore] obvious that it is being done for medicinal reasons, nevertheless, it is permitted. Anything that is not eaten or drunk by well people, is forbidden to be eaten or drunk as a cure.4Unless you are ill enough to be confined to bed. You may consume herbal juices, or drink a raw egg to make your voice more pleasant.5Products consumed solely to improve your health are not permitted. [Mishnah Berurah 328: 120] There is, however, disagreement among contemporary poskim regarding vitamins. This is not considered medicinal since your throat is not sore.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)