Unless specified by the manufacturer, it's usually not recommended as it may leave residue and discolor the hat.