On Android, I have the mic, location, and camera blocked via the pulldown tiles menu. I turn them on when needed. The OS and some apps like to bitch about this sometimes but it seems to be working ok.
My iphone does not offer these blanket blocking options. It’s a work phone, so I just leave it off unless I need it.
At this point, it’s the best I can do. I have tape on the selfie camera too. I guess I could bust this pixel 7a open and add physical switches to the cameras and mike, but I’m not real confident in my ability to pull that off. Maybe you can tell me how to do that.