depends on the scenario. if its a child born as a result of consanguinity then i dont know if id be able to do it.
if its just adoption, sure. i always thought it was cool the way that old japanese daimyo would adopt their most capable retainers to carry on their legacy. not that i have much of a legacy.