Is it possible for the snap package to have the ability to install snap packets and for example to be able to run the installed snap package?
It is possible to trigger installation/removal of other snaps via the
snapd-control interface. Use of this interface will likely trigger manual review if you try to publish a snap that uses it, so it would be a good idea to describe what you are trying to do.
I don’t think there is currently a facility to allow a strictly confined snap to execute commands provided by other snaps at present. It is possible for a classic confined snap to do this, but again this requires manual review.
Note also that a snap using snapd-control will very likely not be allowed at all into the normal store by the manual reviewer, this interface is typically only allowed in brand stores.
you can use the content interface for this … but indeed this means you need to own both snaps or the owner of the snap you want to consume from needs to provide access to the binaries you want to execute …