I believe only by installing on a separate profile which may work for the camera (although what a pita) but its unlikely to be a workable solutiin for the keyboard.
Aside waiting a Bit for the official method to arrive, you could use gboard sans network in a profile of trusted apps , and keep gcam in its own separate profile.
If I where you and I was as concerned as you appear to be, I would avoid using either of those apps until the scope is ready. Try heliboard for a keyboard. Never used gcam, but the stock option is pretty good, just learn how to take pictures instead of relying on ai. (No offence intended, I'm speaking as a professional photographer)