No tests yet, looking for concept ACKs, or to see what people would want for this.
It's essentially mirror functionality of #7558.
I am not sure how mempool interacts with this(I'm guessing I should check if it's in block/mempool like abandontransaction does) but the usage is intended for in-block transactions.