Is there an inhaler that could prevent anaphylaxis?

No. Injectable Epinephrine remains the standard of care for treatment of anaphylaxis. In the past an inhaled Epinephrine was under development but never made it to market.
No. There are no inhalers on the market that prevent anaphylaxis. The treatment for anaphylaxis continues to be injectable epinephrine.