Was the war of 1812 avoidable?

Yes, it was merely an attempt to restore all the chaos that happened before the American Revolution.