Blizzard recently stressed that using any mods in Diablo IV is forbidden. All mods, no matter how benign their effects, are treated the same as cheating, and...
Blizzard says that modding Diablo IV can result in a permanent account ban::undefined
PoE is a great game, and there are many reasons I find it more fun than D4. Seriously, I find myself leveling multiple characters each league, which means running through the campaign each time. Can't really force myself to do that in D4.
Unfortunately, you will get banned for modding PoE as well. Hell, admitting (in game or on forums) to using any sort of method of flask automation can get your account permanently closed.