Undock of secondary grid and FX is already possible. Button in the top/right corner.
There is only one workspace, and there two grids. This is not the same. Grid is more like a view on the same data.
MIDI settings has "MIDI Surface - Main grid" and "MIDI Surface - Secondary Grid", as well as "MIDI to FX Grid". It is possible to use multiple controllers and map them to corresponding grid. No scripting required.
Regards,
Alexey