History Cleanup Hook?

Hello,

is there a way to add your own cleanup (for non-Camunda data) to the Camunda cleanup based on the process instance ID(s) that were deleted?