Hardware physical switches are a gimmick feature - if you can’t trust your OS to that degree, then you surely have bigger problems than your microphone.
Of course I can never trust a closed source OS like MacOS.
Linux is a little better. But it's not just the OS. I might be in a Google Meet call where I have given microphone access, but can I trust the mute button? I'd rather have a physical mute.