Have you even looked at the process to root a Nexus, or Pixel? Better hope you're doing it behind a UPS of some kind, and don't have to get interrupted at all. Seeing as the process literally wipes the entire phone's storage, meaning that if it's interrupted for any reason (power outage because of course the phones have zero battery life, or interruption somewhere), you now have a bricked phone.
I can't even start the process to root my G4, because even in 2018 LG wants to be petty as fuck and demand I buy an international model that won't work here. About the only phone model I could even want to get anymore is the unlocked version of the V20 (US996), and much to my dismay I found out there's even three separate sub-versions of that. if I get anything but the one with a country code of 'USA', i still can't unlock the boot-loader and actually do any of the cool shit that a rooted phone enables. And because nobody on XDA wants to make the effort to do it any other way.
And then there's this asshole known as Niantic, who decided to blatantly get around a loophole of accessing your phone (and SD card's) contents before you even have the opportunity of explicitly blocking the permissions for it, look for even
empty folders that match something they don't like, and block you from even running the app. And of course Google won't do jack shit to them for it.