Yes, though at least one party is typically required to be a Spanish resident or citizen for a civil marriage at the Registro Civil. Most international couples marry legally at home and hold a symbolic ceremony in Spain. Catholic ceremonies are legally recognised.