The recently released server scripts go part way there, you can run javascript (Node) to have expressions evaluated, and the result is available for the following steps on the same workflow.
To make this easier than creating a plugin every time, the Toolbox plugin has a “Server script” action, where you can define the script, the data, and the return type.