I'm sure its very possible. The inside of the iPhone will probably look exactly the same as the chips will probably have to be very close to the same size. However, Apple will 99.9999% probably not sponsor an authorized upgrade. If you have it done it will void your warranty.