Of course, check this example I created:
PHP Code:
Custom: ENV TO CC
SWS/S&M: Focus main window (close others)
SWS/S&M: Focus main window (only valid within custom actions)
ReaScript: Close all running reaScripts
SWS/BR: Convert selected envelope's curve in time selection to CC events in last clicked CC lane in last active MIDI editor (clear existing events)
Script: kawa_GUI_EnvelopePreset.lua
I created above for experimenting with kawa's powerful gui tool, thanks master kawa, with a click you can convert kawa gui's result to cc, ready for next round. The above is just one example how it could be used.