Middleware that functions like nginx sub_filter?

Hey there

Is it possible to create a middleware for Traefik that functions like the nginx sub_filter module?

I would love to be able to inject custom CSS in a service where I don't have the option to modify the source files.

Thanks!