We are both, OP! DH is British and I am not. I moved to the UK in 2009 shortly after we married and we stayed there until 2020 when we moved to my home country.
Would we move back? In principle, yes. We loved many things about our experience of living in the UK and are extremely close to DH's family, who we miss terribly. Having said that, we don't regret moving here at all at the moment. Both our countries have significant political, economic and "cultural" challenges, but currently in terms of quality of life and opportunities, not the UK is definitely a better place for us. We are still open to going back when the children (and DH's parents) are older.
Like a PP, DH is not planning or willing to give up his British citizenship (not that he has to in order to live here, but he wouldn't) and the children and I are dual citizens so that does not affect our choice of where to live.
I would say, from the perspective of someone who lived in the UK for many years... two years is not that long. At two years I was still figuring out the systems and the culture and just... how to get anything done. By year four I felt so much more at home and settled and like I knew what I was doing. Had circumstances not changed, I had planned to stay in the UK permanently.
I think DH's feelings about being a Brit abroad would be similar. He's in the middle of year three and seems to be a lot more comfortable living here than previously. We came here with a plan to stay 2-5 years, depending on the aforementioned circumstances, but DH is the one who decided about a year ago that it would be better for us to stay here for a longer, as-of-yet undetermined period of time.
If you're looking to compare the UK with places you've lived before, where you have a good understanding of what your life might be like, then I think the comparison is definitely worth making. I knew what our cost of living would be like when we came here, which areas had the best schools for my children, what the job market was like, etc. If you're considering places that neither of you have ever lived as an alternative to the UK, I think that is a much more difficult assessment, with a lot more risk. I'm not saying don't do it, just be wary of grass-is-greener thinking. Nowhere is perfect.