Yes, the only difference is that you need to communicate your bank account number and likely your legal name.
in Latvia we need to do this for domestic payments anyway. We use IBAN even for domestic payments..
> and likely your legal name.
not mandatory. If provided, the bank tells you whether the recipient name matches the account, but if not, you can proceed with the payment anyway.
I, too, would prefer to just be able to give people a random number to send money to. Isn't that a GDPR requirement anyway: data minimisation? Can they legally require this beyond their 90% of the law (that is, custody of the thing I'm trying to move)?