Does the logic board of this device fit into a 2016 casing?

I have a gold 2017 MacBook with a cracked display, it’s the Core i5 model and I want to swap the logic board from that device into my silver 2016 MacBook that currently has a functioning display and a Core m3. Is this possible?

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

crwdns2934109:0crwdne2934109:0

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