It is possible to configure a forward outgoing proxy in Matomo (Piwik), so that all outbound Internet connections (eg. to check for new versions of Matomo, for SEO plugin, Plugin updates, etc.) go through the proxy. Check the FAQ Configure Outgoing proxy for more details.