<LabVIEW>\resource\plugins\CreateSubVI\Additional Actions Template.vi
This VI has (limited) instructions for how to run custom code when doing a Create SubVI action. You can search around for more details.
I don't know if you'll be able to use a template, though. You might have to do all of the scripting code.
That custom control editor is one of the more arcane parts of LabVIEW. It exists since at least LabVIEW 2 and has seen only small improvements since. And according to its original creator back at that time it is a pretty nasty piece of software code that would need a complete rewrite to be able to make more elaborate modifications to it. Chances for that to happen are about 0.0something % nowadays. Unless someone somewhere is willing to pour a few millions into this. 😎