This is a planned feature, called something akin to App Communication Scopes which would allow us to limit Inter-Process Communication (IPC). Unfortunately it seems to be delayed indefinitely for now.
If you want to avoid this, it may be possible by installing apps in different profiles. It’s still possible to do network communication over localhost, between profiles, but very few apps actually do this.