In AH there is no such thing as unlimited ammo be it MG, Cannon, bombs, rockets or missles.
However, I believe there is a way to increase your ammo offline so you can practice without having to land constantly to re-arm. I'm not sure where the configuration is, but somebody either here or in the Training board can probably help you.
ZPB