A tire dealer should be able to reprogram the TPMS or some bidirectional scan tools can do the programming. As long as the offset, depth, etc are close, it should be possible to swap the rims. If the rim dimensions are too different, there could be differences in handling or the tires could...