Is there a vaccination for anthrax?

Yes. However it is neither recommended nor readily available for the general public.
Bio Thrax. Biothrax is the acellular vaccine licensed by the fda for use in the us. You will see it predominantly used by military who will be deployed to high risk areas. It is currently given as a series of 5 shots with annual boosters to maintain immunity.