That's how I always did it. But there's always the 'expensive cycle' where the architecture changes and you have to buy a new processor motherboard and RAM all at the same time. When we moved from AGP to PCIx video cards was a particularly expensive.I think that time even the power supply had to be replaced. I only kept the case and drives.
Too bad we can't do this as easily with cars.