No problem, it happens all the time. There may even be several intervening owners.

Just as common is that B's name is never entered on the bill of sale from A, C fills it in with his own (C's) name and as far as the FAA is concerned, A sold it to C.

Dana