I'm not christian... but I can tell you that I don't think it's ever acceptable to punch or hurt yourself in any way. *slapwrist* Have you learned your lesson now Johnny?
I have a tendency to do this (or hitting any part of my body as hard as possible, even against things), alternating between this and cutting. In the end, it's your body, but of course there are healthier ways of dealing.