If you mean modified as in installed another OS, barely any in this case. They're all non-Google certified operating systems so Play Integrity hardware attestation can force apps not to work on LineageOS, CalyxOS etc.
I mean Samsung and other brands are modifying the base Android a lot to add their bullshit UI and mandatory app store and apps. And it's still certified by Play Integrity otherwise all customer of phones other that Pixels would complain of apps not working.
How is it different if Motorola officially sell a device with GrapheneOS installed stock as their version of Android ? It should be approved by Google and pass all Play Integrity check, right ?