Automatic WARP disconnect when connected to a trusted network

Hi. Is it possible to have WARP automatically disconnect when connected to a trusted network? We have some VMs on Azure which have IP allowlisting, obviously WARP dynamic IP is creating an issue as we do not wish to allowlist a larger range of IPs.