here is the thing…
what you are talking about is basically setting up a macro in the gaming software of a mouse/keyboard in which you tell the macro to press “E+another key”.
now the problem here is the this falls into a violation of the EULA/TOS where it concerns ‘automation’. its kind of a grey area in some parts of it. however, blizzard has explicitly said ‘one action, per one key stroke’ and you are talking about 2 actions for one keystroke.
im not going to tell you not to do it since its your account and you can do whatever you want. however, those are the risks. you could get your entire account banned if they catch it.