Are the models (parts) interchangeable?

I have 2 Moto G 5g(2022) phones. One is the 4/64 model XT2213-1 in excellent condition. The other is the 6/256 model XT2213-3 that's pretty beat up (front camera, charging port, and of course broken screen). I wanted to just swap the mother boards. Can I do that between these 2 models?

Also the XT2213-1 is a locked Cricket wireless. I did unlock it, and tested with a different SIM. Worked great. The XT2213-3 was unlocked from the start. Will that be an issue in swapping the motherboards?

Thank you!

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0