Only for flights operated by AM. But if buying tickets through the AM site, I'd still ask for printed boarding passes at the airport to make sure your SkyMiles number appears as it should.
As an aside, only an AM agent at Cabo San Lucas was unable to add the number correctly, likely because that airport uses contract staff for multiple airlines.