56j motor with square flange

Can i remove the 4bolt frame off a 56j motor and replace with a square frame now i have a 56y motor. I know i can inter exchange armatures from one mfg to another if frame is the same nema standards

Reply from Inyo InyoTyler :

DO you have the part number for the motor that’s currently there and the motor you are trying to replace it with? Also whats the model of the pump?