Not a physical device, but I've been using Shush app on macOS for years. I have a global menu icon to enable/disable the mic, and map it to the fn key (can quickly toggle tap-to-speak or tap-to-mute with a double-tap).
https://apps.apple.com/us/app/shush-microphone-manager/id496...