Yes, this is correct. Provided you are not doing it to deceive it's perfectly legal in the UK - however you can't go changing other details like your date of birth, which Kierans did here.
The problem in the UK is many people in places like banks are unaware of this and they obviously cause difficulties for people when the account name and their given name do not match, even when explained (I have a relative with this situation) - it's not often enough to make it impossible merely very inconvenient at times (the relative of mine is in their 80s and been mostly fine since getting an account aa a child)