I wouldn't hit the bolt directly, but you can hit the ratchet or wrench to get a little bit of an impact gun action. I have to do that to break the caliper bolts loose because I can't really get that much leverage inside the wheel wells. Just don't whack it too hard!
But the breaker bar is going to be your best bet.