Attach 15-inch Macbook pro screen (with broken logic board) to 21-inch iMac (with broken screen)?
No. The internal connectors are incompatible between the two; different size and different pin-outs. And there is no functional way to route the display signal through the mini Displayport from one to the other.