Alright yes it's possible! A naive implementation to whoever is interested would be in the gist link. Of course some github action files to go with this and specially when merging the branch we would run this script again but with the destroy argument passed
https://gist.github.com/qasimalbaqali/82addb154997327ecece6261cff49142 Will try to write a small 'tutorial' on this in the coming days with a better example after testing it out properly!