Isn't there already a feature in the protocol to delete notes from the relays?
Why not implement something like a predefined time when a note should be deleted?
Sure, relays can ignore it. But I think it's better on the server side than just on the frontend.