Yes. While an airline may or may not have explicit unifom-use policies (most do) any company could easily fire you for presenting a poor public image. You don't even have to be identifiable as being associated with the company...if you were photographed doing anything considered objectional by most grandmothers, that's all they need.
Cops, military personel, flight attendants, and numerous other employees have learned this the hard way.