I think most companies would deem it a serious disciplinary offence to be seen drinking in uniform, and that's entirely reasonable. Most people wouldn't want to anyway, nor eat in uniform (except just before leaving for a duty) as it'd get far too much attention from other users of the bar or restaurant. Not many enjoy show-boating like that. Interesting the nationality of the crews who do it, given their oft cited character and CRM traits.