Possibly, as anyone can sue for almost any reason, whether they would win or not is another matter. Still the hassle of having to defend your actions can be both expensive financially and emotionally.
It is unlikely, if you saved the life or was perceived to have saved the life of the person experiencing anaphylaxis from a bee sting (or other allergen) you would be prosecuted.
With asthma and allergies so common now a day, Epipens along with aspirin are likely some of the most widely distributed life-saving medications out in the general public, I would suspect that in most cases where someone gives such medical care and the outcome was positive, that most jurisdictions would simply ignore the “minor legalities” of a lay-person doing so in which they saved someone’s life or increased their chances for survival. But then you never know.
Pete