I don't think you should hurt yourself. Now, its your life, so, I can only offer words on a computer screen for you. There are other methods of releasing tension, it just takes time to learn (as you know one way).
I've hit myself, before, but I tend to stay away from that, these days, as I've found jesus (ok, not jesus, I just started meditating and reflecting on my life more (if anything, I found the universe as I dont believe in jesus beyond the man)). I believe the anger is what is being dealt with during this time and I find myself 'laughing' more instead of becoming angrier ("Buddhist Monks" are known for their sense of humour - they can laugh at lifes as*hole moments). Basically, I slowed down the amount of times I become angry and have learned to control it better without really trying. Now, its just natural that things don't bother me as much and I see more 'brighter sides' of life.
Again, just my feeble experience. When would be a time or experience you'd hurt yourself?