Chat shortcut script allowed if not for misuse?

hello all o/
I often find myself out of healie juice as moira or out of armor packs as brig, wondering if I’m allowed to run an autohotkey for putting into team chat “out of healing resources” or not. Kinda like how there’s an ingame shortcut for your ult charge
FeelsBadMan when a friend is staring at me saying i need healing and i cant do anything.
Oh, and I get that blizzard reserves the right to ban me for misuse

it may be hard for them to specifically allow for that if they are detecting macros somehow… not sure they are though… or how…

in principle i dont see what they could object to… but you may run into a automatic ban or something… then again if its not a keymaped key being typed i dont see what issue thy could have with it… hmmm… hopefully the mods may know… or something