I think every physiotherapist will tell you that it's not a very good idea, and there are many musicians in the metal scene who have suffered severe damage - like, the guitar player from Iced Earth, Jon Schaffer, had severe neck problems due to headbanging.