Chosen Solution

My motherboard on my iPhone xr is blocked on iCloud can I just replace it with an other motherboard and will it function?

Yes, it will function if you replace the logic board, but make sure you replace the FaceID sensor as well as the motherboard, because each faceid sensor is paired the logic board.