Can I get a mortgage in Spain as a UK or Irish buyer?

Yes — many Spanish banks lend to non-residents.