Depends on the gun. Popular line of thought is that it does not harm a Ruger 10/22 but will peen the end of the chamber area on some others. When in doubt don't do it.
I do it on my CF and occasionally on my shotguns...never had a problem. If you plan on doing it all the time then buy a snap cap for each.