If, by religion, you mean an organization which has a text which records its core beliefs, meets regularly, incorporates prayer in those meetings, suggests its membership consider that there is some kind of Higher Power, then yes, I guess AA is a religion.