Can i transplant an mp5 gearbox to an gen 8 m4a1

can i transplant an mp5 gearbox into an m4a1 shell im a bit sceptic due to the pin contacts are not the usual pin contacts

Why do you want to do that when there is so many better options for m4’s