From what I've heard, throwing Linux in it works really well from a compatibility standpoint (and obviously doesn't require a Google account). I believe Linus was using a pixel as his dev laptop some time back.
There's s two ways to use Linux. You can load something called Crouton which runs inside of ChromeOS and basically exposes Linux. But this method everything goes away on reboot. Maybe way to fix.
The other is to replace ChromeOS with Linux. No different from buying a Windows laptop and replacing Windows with Linux.
Crouton doesn't necessarily go away on reboot. You just have to consistently boot into Developer Mode to keep it (and the rest of your data). You just get a warning and the option to do so each time it boots. That's how I've been doing it, though I hardly ever shut the thing down.