Yes, it works well in Firefox if you have the needed packages installed [0]. I don't use Chromium but apparently that works too.
[0] https://wiki.archlinux.org/title/PipeWire#WebRTC_screen_shar...
[0] https://wiki.archlinux.org/title/PipeWire#WebRTC_screen_shar...