I suspect you could do something like this with MinIO. That seems to be their thing.
In effect, you are choosing MinIO object storage over the "stock" object storage (which is incompatible with the other clouds).
You can use MinIO's ILM policies to replicate, tier, etc.
You still pay for compute, network + drive but then pay MinIO vs. S3/Blob. There will be no egress fees.