No. You cannot currently save CAPX/CAPROJ projects as a plugin. Plugins are created using JS.
However there is a voice that has been demanding modularity. This will require a somewhat re-design of parts of C2. As I understand it's not in the immediate future, but some day.