Haven't tried but in theory it should work.
You can apparently block WebRTC with `Content-Security-Policy: webrtc 'block'`
Right now there is a chrome-only policy to block it called Connection-Allowlist[1] eg
Connection-Allowlist: (response-origin); webrtc=block
0: https://www.w3.org/TR/CSP3/1: https://developer.chrome.com/blog/connection-allowlist-annou...