I've finally gone ahead and added a workaround to the restriction of the vanilla enchantment only recognizing "block hit" and not "block broken".
I put some time into optimizing this, too, so it should provide a smooth experience. :)
Updated to 1.21.
Unfortunately we didn't get a better option other than the instantmine one in 1.21, so I might have to find another workaround. Which is annoying, because it's going to be hacky.