I take it you haven't read the Wiki articles in depth to understand them. Smart Cast in combat has not been a thing since the BC launch. It simply does not exist. If you still think that HealBot performs casting actions without deliberate input from players, like you're suggesting with your fairytale examples that have literally not happened in WOW, then I don't know what to tell you man.

WOW is an example of a game that has a flexible but secure API that does not trivialize the content, and here you are telling me it's impossible. I have nothing else to say, because logic clearly won't change your mind.