Pistons, and rings which have been worn in under certain conditions and exceeding / changing them may drastically accelerate wear.
Personally I wouldn't do it. However, I believe there have been many here that have top swapped high mileage engines successfully.
Also keep your transmission in the back of your head during this.