Can you recite the Hagomel for someone else?
Some write that hagomel can be recited for others. Some poskim are stringent about this, and write that with the exception of one’s wife, the blessing should not be recited on behalf of others.
Sources: See Shulchan Aruch, Orach Chaim 219:4, who cites the halachah whereby hagomel can be recited for others, the wording of the blessing being “He who performed goodness for you…” Mishnah Berurah adds that if the person involved is not present, the wording should be “He who performed goodness for my father…” However, some write that this blessing should not be made for others (see Beis Yosef; Eliyah Rabba), and Biur Halachah cites these opinions, Eliyah Rabba making an exception for one’s wife. Perhaps in the light of these opinions, it is not common practice to recite the blessing on behalf of others, and I have never heard it being done.