Most likely yes. Modern birds often take care of other chicks - willingly or unwittingly via nest parasitism -, so dinosaurs probably also engaged in similar behaviours.