ram – Upgrading Redmi 5 3gb 32 gb motherboard to a 4 gb 64 gb motherboard

I have Redmi 5 3 gb and 32 gb rom which is in good condition.
Now, I want to upgrade the memory specs to 4 gb and 64 gb without changing the phone.
Is it possible to remove the old motherboard and replaced with a new Redmi 5 4 gb 64 gb rom motherboard???
Please kindly help me with upgrading my memory specs instead of buying a brand new phone.