If you're lucky the best CPU you put in that socket is a 5800x3d. Which is a good CPU, but it's going on 5 years old at this point. The GPU needs a massive upgrade. You MIGHT be able to find some still decent priced DDR4 RAM but that's doubtful in this market.
You'd be sinking a lot of money into older parts.
I'd say buy new and with the way RAM is priced these days I'd honestly get a pre built while they still have half decent prices. Something that will actually let you upgrade it when prices become not retarded. So no proprietary cases or boards.
Thanks for the advice !