See this all the time. Doesn't really matter the age - I'll go into any sit down restaurant (not necessarily nice) but if there's any guy wearing a cowboy hat it's staying on.
I wouldn't care much except for the generality that guys wearing cowboy hats are usually complaining about how society is going to hell' and how no one respects traditional common courtesies.