Forward proxy with multiple public IP in the docker

Is it possible to configure haproxy in “forward proxy” mode in the docker with multiple backend public IP?

I have a virtual hosted server with 3 public IP. I would like to deploy a “forward proxy” in a docker and bind 3 public IP for “round robin balancing” requests from the proxy on the external API (by https).

If is it possible than please share an example docker-compose.yml and haproxy.cfg