Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Just curious - why do you want to do this? 2012 have better specs than the 2015?

buy and sell reasons.

someone was getting rid of their busted logic board 2015 for dirt cheap

i got a 2012 27” with a cracked screen which needs a replacement screen
 
the display itself has a completely different connector coming from the display to the logic board.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.