The pixels all ship with unlocked bootloaders.
I recently turned my unused Google Pixel 8 into a server for my personal site and various side projects. It's super satisfying to spin things up in a couple hours, point a cloudflare tunnel at it, and share it with the world.
Just nitpicking: unlockable bootloaders. The bootloader is locked by default. But you can unlock it without needing Google.
Additionally, Pixels support a Linux VM and has a desktop mode (I'm running GrapheneOS, it may still be that these features have to be enabled through the developer settings).