I can see how it sometimes may make the application simpler and maybe, potentially, how you can have single proxy to serve multiple tenants (containers with applications) so that they maybe don't have to keep their own pools of connections.
The services would talk to each other locally and use the proxy to talk to the database using single connection pool.
But I don't see how this couldn't be as effective with TCP loopback (which actually is hacked to not invoke any TCP).
Granted, domain sockets are bit faster than localhost (https://redis.io/topics/benchmarks) but if this makes difference for your application you are likely using wrong architecture.