It might be possible. OBS currently uses ffmpeg for a lot of stuff on the backend, so you might want to check with them first to see if they have WebRTC support, or plan on adding it.
OBS doesn't use FFmpeg for its standard encoding, nor does it use its RTMP output capabilities for streaming via RTMP -- it uses x264 directly with librtmp.
However, in the advanced settings, you can select FFmpeg as the encoder and can probably set it up in such a way that it also broadcasts the encoding over WebRTC. I'm fairly certain that method already works with RTSP.
OBS doesn't use FFmpeg for its standard encoding, nor does it use its RTMP output capabilities for streaming via RTMP -- it uses x264 directly with librtmp.
However, in the advanced settings, you can select FFmpeg as the encoder and can probably set it up in such a way that it also broadcasts the encoding over WebRTC. I'm fairly certain that method already works with RTSP.