Both statements are wrong. Play Integrity is about ensuring security of the OS vendor's and the app developers' interests against the user. GrapheneOS is about providing a maximally secure phone OS where the threat model includes the user as an attacker that must be defendet against, while at the same time not offending OS and app developers too much by giving the user too many freedoms. It is explicitly not made to be hackable, in the sense that a user could modify the system in any meaningful way while still keeping functionality and ease of use Then it is obvious that there is no solution: Even the stated goals of both google and GrapheneOS are to reduce user freedom or hackability-by-owner as much as possible.
GrapheneOS is MIT licensed. When you say it is not hackable, do you mean it is designed to be resistant to attacks on the OS, APIs, data storage etc.?
I meant “hackable” in the sense that you can take the source code, change every “e” to an “E”, then update your “ScrEEn BrightnEss” in the “SEttings” app! …which also means you are now running an uncitizenly OS and as such must be debanked, denied the ability to apply for a passport renewal, and forbidden to check your electricity bills.