I think you must check with your local office of the "registro civil". In many countries you can legally change your name or surname by paying a fee to the registrar's office.
Some time ago many people added "de" and "y" to keep a history of their family names. It might be still possible.