Welcome to the forum, and thanks for your post. Although I'm familiar with how to handle difficult bosses, your particular circumstances are new to me, so bear with me if any of the following advice is slightly off target!
The first thing that strikes me is that although your bosses behaviour is inappropriate and unacceptable to you, it's quite "laddish". Is he treating you any different to how he treats other guys? Either way, the fact you are fed up with it is enough to warrant doing something to make it stop/change.
As you've found out, bullies have often been bullied themselves, but this is no excuse. There are some good web resources on how to deal with bullies
... e.g. keeping a diary of their harassment.
The key is setting some boundaries with your boss. Easier said than done, I accept, but worth starting. You can tackle this in two ways - at the time something happens, or later. Next time your boss hits you or makes a comment, say calmly and firmly "stop doing xxx, it's really not acceptable to me, and I would prefer that you treated me like yyyyyy". If that's a bit too confrontational, have a more private conversation, which would be similar, but would allow for more discussion e.g. check he understands you're serious about this. Above all, remain calm. If you're worried about saying it "for real" do some practice in front of the mirror or with a trusted friend, and keep going until you can say the words in a confident, assertive manner.
"Training" your boss in this way may take some time (and courage) but it can work if you keep at it. And if his behaviour doesn't change, then you are perfectly entitled to talk to his boss about this.
Keep posting and let us know how you get on. Good luck!