Chosen Solution

My iPhone XR got smashed on both sides. I have a spare iPhone 11. Can I swap the internals and not have any display, call, etc.. issues?

No the logic board is a different size and other parts will be fitted differently.