I think currently what you want to achieve would not work with the standard implementation of the connected-edge and the used agent on edge side.
However I see how this could be realized with thin-edge.io if you have a dedicated thin-edge installation on every edge that is connected to that central instance. You could use an own software management plugin on edge side. @anon31993359