I heard the wayland compositor niri is inspired by paperwm, fyi. Also I doubt that cosmic will be very extendable when it releases, since most components are rewritten in rust and compiled, thus unless they specifically add some sort of scripting support extensions wont happen as easily as on gnome
I mean its already in the nix repos as well as homebrew which means its essentially taken care of