There's a way. A firewall, that work as a local VPN. You don't need to root your Android.
I use NetGuard.
https://www.netguard.me
It's open source.
It's open source.
Joking aside, iOS has supported VPN connections since as long ago as iPhone OS (feels weird calling it that now) 4 I think?