I think it used to be a goal to be embeddable in the way you describe. Or at least better than gecko and at least as good as chromium of the time. I’m not sure if that goal changed. I think it probably doesn’t yet support enough features to meet your requirements.