I get that this has been an issue for you, but it seems not everyone experiences it; in which case if it's a bad batch or whatever it's not really something you can realistically wish for, as it's the equivalent of "no faulty bodies/flawless quality control". Did you consider getting yours replaced under warranty, or did it not emerge until too late?
It's been an issue for quite a lot of people, if posts on CR are any guide. Similar issues have already been reported (rarely) with the R3, and there was a comment here yesterday that someone had a 6DMkii throw an error code and freeze. There is clearly something amiss in Canon's quality control.
Whether it's hardware (faulty component in some batches?) or firmware (conflicts or poor coding?) is debatable, no one knows.
No one is expecting "no faulty bodies/flawless quality control", but what we are expecting is that Canon reduce the number of bodies with these problems, *
by significantly improving their component checking and their firmware*. It does their reputation no good whatsoever to send out faulty bodies.
In most cases, the freezes reported here seem to be occasional and very random, and those who have returned bodies have said that Canon has been unable to reproduce the problem. Some have even had the mainboards replaced, but have still experienced freezes afterwards, so I have little faith in Canon's ability (or even willingness) to sort out these issues.
In my case, the freezes seem to be related to buffer overload when shooting RAW bursts, but I've tried 3 brands of CFE card and had issues with all of them. So far, I've had no freezes when shooting JPEGs, which seems to reinforce the buffer theory.
My R5 is in daily use, and I'm frequently out of the country, so rather than have my camera sitting in a repair shop for 2-3 weeks, I've chosen to continue using it but to only shoot bursts in JPEG, as I don't have a spare RF body to use while I'm waiting for a repair/replacement to be dealt with.
When freezes do occur, it greatly reduces my faith in Canon, and makes me more reluctant to act as a guinea-pig when they release a new model.