Yes — there are no restrictions on foreign buyers in Spain, and buying a new build property in Spain follows a clear, legally protected process whatever your nationality. You will need an NIE number, which your solicitor obtains for you as part of the purchase, and typically a Spanish bank account, which they can also help you open.