Remap Delete Word Shortcut (Alt + Del) to Cmd + Del

Is it possible to remap Cmd + Del to Alt + Del but only when I'm typing?