Maybe? I think right now only composer repositories support setting extra connection options.

~~~json
{
    "repositories": [
        {
            "type": "composer",
            "url": "...",
            "options": { ... }
        }
    ]
}
~~~

So if you had a vcs repository that required extra connection options, we'd have to add that to the repository class in addition to this patch.