A hat doesn't conceal your identity so no, no consideration should be given to banning hats.

This isn't about suggesting people only wear outfits reflecting Canadian values, it's about public security and use of public services that require identity be verified.