Can I use a recording policy to delete recordings that contain sensitive data?

No, for compliance reasons Genesys does not have a recording policy that deletes recordings with sensitive data.

You can build a custom solution using the Content Search APIs to find interactions that contain sensitive data, and invoke the Purge APIs to delete the recordings.