Consul service mesh sidecar proxy - how to globally configure?

In the configuration of Consul service mesh sidecar proxies, I have an example (serviceA.json):

{
  "service": {
    "name": "serviceA",
    "port": 8001,
    "connect": {
      "sidecar_service": {
        "proxy": {
          "upstreams": [
            {
              "destination_name": "serviceB",
              "local_bind_port": 9001
            },
            {
              "destination_name": "serviceC",
              "local_bind_port": 9003
            }
          ]
        }
      }
    },
    "check": {
      "http": "http://localhost:8001/health",
      "interval": "10s"
    }
  }
}

This configuration file indicates that the service serviceA listens on port 8001, and it needs to access serviceB through the sidecar proxy on port 9001, and access serviceC through the sidecar proxy on port 9003. However, if I have many services, writing the upstreams configuration in each service would be cumbersome. Is there a way to configure a global sidecar proxy ports so that it applies to each service?