BridgePlayer If I recall correctly, you could activate work profile and install the app there. Work profile can freeze apps (I think), so they won't run.
If you also install Play Services in the same profile (prior to installing Teams) you'll even have Teams notifications via push while your phone is sleeping and work profile apps aren't frozen. I.e. you can have proper Teams app experience and pause it on demand.