Generally, no, your friend would have to apply in her country of residence, according to the Irish Naturalisation and Immigration Service:
Applying for an Irish visa outside of country of residence
Q.7 I will be travelling to, or I am already in, another country on a short visit before travelling to Ireland. Can I apply for my Irish visa in the Irish Embassy/Consulate/Visa Office there?
No (unless Q8 applies to you). Visa applications should be made in your country of residence. If however, there are valid reasons or extenuating circumstances which prevented you from doing so prior to your departure, you should discuss the matter with staff at the nearest Irish Embassy, Consulate, or Visa Office.
Q.8 I am the immediate family member of a national of an EU Member State. I will be travelling to, or I am already in, another country on a short visit before travelling to Ireland. Can I apply for my Irish visa in the Irish Embassy/Consulate there?
Yes. Your application may be submitted to any Embassy/Consulate however, the staff there do not have to process the application, and may refer the application to the INIS in Dublin, for processing.