Or the longstanding Windows-Bug that the binary files of programs cannot be deleted when the program is running
Um, I'm just an observer here, but this seems like a "yeah, no shit" type of "bug".
Unfortunately, UEFI has made it entirely possible for a ill-tested operating system installer to brick your system.
If it can be unbricked, it isn't bricked.
Certainly UEFI has provisions for entirely replacing your existing (in this case, failing) hard drive with a brand new blank one and allow you to install an OS on your computer. If not, please point me to the Commodore 64 aisle.
Men take only their needs into consideration -- never their abilities. -- Napoleon Bonaparte