Tabbed dockable panels in rhinopython

@stevebaer, @DavidRutten

please excuse warming up this old thread. If a script gets compiled into a plugin using the RhinoScript compiler would it be technically possible to create a dockable panel from it if the script contains a WinForm ? In theory i would like to understand if the compiler could add similar information to the source files outlined here ?

thank you,
c.