But as soon as I think about implementation I realize how complicated it is to make such an intelligent system that would understand intent and based on intent adapt the action. In theory, it all can be manually connected, but then it would require a complicated setup.
Of course, it's only from an implementation perspective. From the UX it can be trivial.