But specifically no, not without an adapter. The UK uses a different physical connection. If the current/voltage is the same (which I’m not sure about because I’m not from the UK) then you may be able to pick up a travel adapter cheaply. Otherwise you’ll have to buy a proper electrical current altering adapter like they sell at travel stores, but much more expensively (maybe 15 pounds and up?).
It’s probably just easier to buy those things here though, once you account for the moving costs and hassle of dealing with the adapters and such, it’s much easier to just buy your electrical appliances in Spain.
I assume that you are referring to UK electrical goods - if so then yes they will work (well mine did) but of course you will have to change the plugs or use an adaptor. To be honest I would advice buying new in Spain and having the local guarantees - also if you are buying a new property - some builders include white goods. You wont use a hoover much on tiled floors!