Automatically delete one-time password messages with a shortcut?

Hi Folks,
Would it be possible to create a Shortcut that deletes OTP texts from messages? Google just released this as a feature for Google Messages How to Automatically Delete One-Time Passwords From Google Messages (and Why You Should) ( – and it would sure be cool to have on iOS.

Watching me create Shortcuts is as painful as watching an elephant’s do needle work, so I thought I’d ask before deleting every message I’ve ever received in a hamfisted attempt to make this.

Unfortunately Shortcuts has no actions for deleting messages. It would be handy for sure, but I think Apple’s quite shy around giving Shortcuts destructive power for fear of misuse.