Disclaimer: this is very likely not safe, use it at your own risk, I don’t account for any harm.
So you can’t remove messages with notmuch:
While notmuch does not support, nor ever will, the deleting of messages...
That’s a fact. But what if it could help you with that? A lot actually.