Not exactly, thats why its so hard to make into a weapon form. It lays on the ground and thats why animals contract it, theyre always walking around snuffling the ground. Unless you spend a great deal of time sleeping on the ground in infested areas you will not catch it the same way animals do.
Humans generally get it through a break in the skin. Not too serious and easily treatable therefor not a very good weapon.
It has to be in an form that only the US and Russia are thought to have the capability to produce to be able to disperse it in the air and have the particles small enough to actually hang in the air long enough for you to breath enough to become infected.
Its in part a matter of how much you are exposed to. If you have ever petted or played with sheep you very likely have gotten a few spores of anthrax on you. Shepards and shearers are exposed to it constantly but over the course of a day only breath in something like 300 spores, not enough to overwhelm the immune system. It takes thousands of spores in your lungs simultaneously to overwhelm the immune system and cause a case of anthrax. Thats why it has to hang in the air so long for it to be a valuable weapon.