The premium bonds wouldn't interest the spanish authorities unless you won. Then you are liable to pay tax of 25% on the winnings.
The same applies to lotteries. If you happen to be in the UK & do the euromillions & win you are liable to tax in spain of 5% whereas if you did it in spain & won the tax liability is zero.