Yes, chum. That's quite right. You see, Trajan was the cousin to Hadrian's father and with the father's death in about AD 86 Trajan became joint guardian of the young future emperor along with P. Acilius Attianus. As he and his wife Pompeia Plotina had no children of their own, they certainly helped fill a role as surrogate parents, though there was no official adoption.