You can get a mortgage in the UK even if you’re not a UK citizen. It’s less about where you born, and more about your credit history, and that you’re allowed to be in the UK and earn money there. Credit history is country-specific: there’s no such thing as, for example, “a European credit score”