We have had requests over time to support optionally
snapctl set to invoke the configure hook. This would need to be triggered by a flag. It would need to pay careful attention to stop
configure itself doing this.
This was discussed also here Should snapctl set in apps trigger the configure hook?