

Glad it helped. Set up the double press of the power button first, so you can still take photos while you look for the cause.
Then do a finger test: lock the phone, hold a finger over the top edge and double press. If the camera opens instead of the riddle, the double press gets you past pocket mode. If the riddle comes up anyway, the double press can’t beat pocket mode on your phone.
Next, wipe the top edge and take the case off for a day, and the protector too. Does pocket mode still kick in? Then nothing is covering the sensor, so a new case or protector won’t fix it. A double press that passed the finger test is your way to the camera from now on; one that failed it leaves a repair shop, which can check whether the sensor itself is faulty.
Does pocket mode stay away? Then put the case back on for a day. Pocket mode coming back points to the case, so get one with a lower lip at the top. Otherwise it was the protector or dust, so keep the edge clean and get a protector with a cutout for the sensor.

Yes, you can. The app you mean is called Pixel Camera, and it installs on GrapheneOS. It uses the same camera hardware and image processing as it does on stock Android, so your photos come out as good as they would there. It even runs without Google Play installed. GrapheneOS’s usage guide says so: https://grapheneos.org/usage#pixel-camera
Your caveat about other apps covers less than you’d think. Since Android 11, an app that asks a camera app to take a photo for it can only use a system camera app, and on GrapheneOS that’s GrapheneOS Camera (the same guide says so). You’d notice when it happens: a separate camera screen opens, then you’re back in the app with the photo. Video calls never do that, because the calling app uses the camera directly. A scanner that shows its own viewfinder works the same way, so in your calls and your scans the picture quality matches stock Android.