OMG that is funny, my ex boyfriend used to do that all the time! It used to drive me nuts.. I would be trying to sleep and all I could hear was bang, bang, bang, bang, bang on the pillow, and the bed would be shaking.
Glad to know somebody else does it too
PS I still loved him

I highly doubt that this little thing would cause relationship problems, it doesn't last that long every night.
I did laugh at him though because for the longest time I couldn't figure out what the hell he was doing.