Does har har not simply come from hear hear? Isn't it mostly said when someone wants to emphasize his ironic , sarcastic or doubting reaction to a thing he/she hears? Or also sometimes as self-critisism?

There are a couple of hars in here: link