Buying villa with tourist licence through UK limited company

I'm looking at potentially buying a villa, small b&b or hotel in spain. I have limited company in the UK that I was wanted to use the business funds from that...can I do that and also what are the tax implications to keep my business running in the UK and start a new business in spain whilst residing in spain? Quite a multi layered question but any advice is welcome 🙏

I do not really understand what you are trying to do.

If you live in Spain you have to pay taxes in Spain. If you reside in the Uk you pay your taxes there.

If you want to live in Spain you have to apply for a visa. What sort of visa are you applying for?

Are you thinking of purchasing the property in the name of the UK business?

Running a B&B remotly is imposble. Running a vacation let remotley is possible but you nedd to have to have local management for cleaning, maintenance and change over days. You would still be liable for taxes. Being non EU resident that will be at a higher rate.