I think so but the child’s natural father name (valdeyat) must stay with him, that can’t be changed.
Personally I’d love to adopt a kid. A + point at my place of work is a lot of kids come and whenever I’m down and tired I look at them and they bring a smile to my face.