Yeah. Earth had such a collision. It’s what caused the moon.
A long time ago a Mars size planet collided with Earth and spewed a bunch of garbage into the air which became the moon. Really.
You can’t make this stuff up. It happened. At least that’s one theory. We have other theories too. Scientists aren’t too sure right now.