Possible to use Traefik in docker internal IP net?

Hello, I'm aiming to create an API with several API services, and traefik does the routing. So domain.com/foo_api redirects to service foo_api, domain.com/bar_api to bar_api and so on... this is all pretty easy and straightforward with traefik.

However, I'm also having internal services that rely on the internal docker service names. So for example my internal service XYZ accesses the API via ws://docker_service_name:port/ws. But this internal service needs access to all APIs, which obviously won't work because the API is split up into two services.

Is it possible to use traefik to still route these requests to the correct API nodes?