Does the solution involve using Cloudflare workers? Because, as I said, I'm sure it is possible but maybe we've gone off the deep end a bit. Just how crazy of a configuration do you want just to serve files from an object store?
This looks like an awful lot of setup for "easily solved". Easily solved is what S3 does where this isn't even a problem.