How do I replace a motherboard with another motherboard?

Is it possible to just replace a motherboard?