Not in Barcelona, at least, since fare prices are shown in the windows (IIRC this is also the norm in the UK, and I thought this was also done Spain-wide, but it's been a while since I took a taxi outside of Barcelona.) Of course, nothing prevents the taxi from driving around needlessly. But this can happen anywhere, Uber or no Uber.