Question: Could you cancel out a tsunami with a underwater explosion, similar to active noise canceling ?

Yes, but it would have to be equal and opposite the incoming tsunami, and the amount of energy involved is mind boggling. The recoil would have its own repercussions. Your neighbors on the receiving end of the resulting double tsunami would want to have a word with you.