Earlier quoted context omitted.
XPrivacy was incredibly cool. But on modern phones rooting and installing Xposed has either gotten massively more complicated or disabled ougright. GrapheneOS wasn't working with banking apps, Google broke rooting via Magisk multiple times on the Android Beta and at some point and i stopped bothering. Maybe GrapheneOS or similar Projects could do this
FWIW: Rooting seems fairly easy at this point in time , at least for pixel devices. Flash with magisk, install Universal Safetynet Fix ( https://github.com/Displax/safetynet-fix/ ) and you're passing safetynet / play integrity API. I haven't come across a single app that doesn't work due to root currently, but I limit my installed apps.
But that worked and was absolutely painless.