Is one allowed to “cake” the birthday boy (smash the birthday cake in his face)?
One is not allowed to waste any type of food intentionally. In this case it also involves disgracing food. Therefore, this practice is not allowed according to Halacha.
The sources refer to the Alter Rebbe's laws of guarding body and soul and of bal tashchis (section 14) on wasting food. They explain that even for a groom's celebration the authorities disagreed and the practical ruling is to forbid it, with only the drawing out of wine permitted with difficulty and not so that it is lost. They add that even when done for a purpose it must be an absolute need, as in the Magen Avraham 171:1. They also note that this involves disgracing food, which is more serious with bread, and with cake-type baked goods (kisnin) as well.This is a generative summary and should not be relied upon for practical halachic rulings. Report an error or leave us a comment.
דין איבוד אוכלין עיין אדה״ז הלכות שמירת גו״נ ובל תשחית סע׳ יד. וגם משום שמחת חתן נחלקו ולמעשה קייל״ן לאיסור. ורק המשכת היין בקושי התירו ולא שילך לאיבוד. וה״ט, שגם כשהוא לצורך צ״ל צורך גמור שאא״פ בלעדיו, ראה מג״א קעא, א. ובנו״כ שם. ויש כאן גם ביזוי אוכלים. ובפת – וגם הבאה בכיסנין בכלל – חמור טפי – ראה בראשונים ברכות נ, ב. ב״י או״ח. ובנו״כ שו״ע או״ח קפ.
#9186

It also disgraces the Tzelem Elokim.
Also seems to be Chukos HaGoyim.