samsung – Can I change emmc but it’s a different brand?

I have a Xiaomi 6a and the emmc is broken,
And is it possible to install Samsung emmc on my Xiaomi?

And my Samsung lcd is broken so I intend to take the emmc and use it for Xiaomi,

Sorry about my English