Calling a pipeline on deletion operations

found a post regarding that:

Filebeat and ingest pipeline are data ingestion components and they can't be used to delete documents.

is there still no workaround to do that?
I change the document ID in the ingest pipeline when indexing documents. So, I'd like to change the document ID in the same way when deleting.
Any ideas?
Thanks a lot!