This summer I'm going to be working on an implementation of software based fault isolation for my masters degree. We are looking to sandbox a web server without the need to partition via processes and incur expensive interprocess communication and context switching. I don't see why it couldn't work for Firefox either.
Here is the original paper: https://crypto.stanford.edu/cs155/papers/sfi.pdf