You can. You can jailbreak your iPhone. I assume you can do so with Android. Problem solved.
Oh, you want to jailbreak it and use it as an authenticator? No. That doesn't seem like a reasonable requirement.
replies(3):
Instructions for installing alternate firmware : https://grapheneos.org/install/web