How to return objects from plugins (SSA, CSA, Element Update & Element Workflow Actions)

Yup.
It also can be run client-side if you extract the code from this module: