Yes, TF2 has headgear. It was added during the first update, and Valve has continued adding more over time, making headgear a strong part of the game's identity.