After a branch has been merged to destination, offer option to delete source branch automatically
There is a button to delete source branch after merge. And this is almost equivalent to what you are looking for.
Open
Closed
After a branch has been merged to destination, offer option to delete source branch automatically