My iMac has been locked out of iCloud for three months … and Apple made it worse!

Except possibly for this case:

https://talk.tidbits.com/t/ric-ford-posts-his-lessons-from-bad-apple-experience

But that may not be due to SSD wear, especially since the computer was so new. Sadly, we will never know the truth because Apple never publishes the reason for failures when computers are returned for warranty service.