Are you asking whether a 5000-series chip will work with the motherboard you have? That depends on the motherboard. If it supports the 3900X, then probably. You'll have to specify what motherboard you have to get a firmer answer.
Are you asking if there's some kind of trade-in program to turn in the 3900X and get a faster model, like with a car? I'm pretty sure that's not a thing.