It is possible to program CC events, convert them to automation data and paste them anywhere in the project. There is some loss in resolution and it is not a realtime operation.
It is also possible to go the other way, drawing automation and record it as CC events. But that is a different matter.
My guess is AZ Lua may be able to generate CC data which could be routed to an arbitrary automation lane set up for remote control using a virtual MIDI cable.