Emmc cloning question

Dear supporters!

I like to ask a question.

Is it possible to replace a faulty EMMC (hynix 8gb write protect) with a (used samsung 8GB working) ? I mean can I remove working emmc from other phone and write (ROM1,2,3 and EXTCSD) from the WP EMMC?? Will this work?

Many thanks for help!