Questions like these are ticky. Usually any automation, broadly worded, is against the ToS and so technically yes, you could probably be banned if a GM had a chip on their shoulder.

However... plenty of people do stuff like this (or even more, such as automating talking to raubahn) and aren't getting banned. I really doubt SE is checking and unless you try to do something blindingly obvious (like botting fates or gathering or such), I really don't think they care.

Technically ReShade, Parsers, and so on are also against the ToS, but as long as you play nice SE doesn't care.