So I am going to assume that Diskpart Clean can still continue to be advised for installation failures without adverse effects based on what you have found here.
As long as I do not know or understand what that installation failure is and how it manifests, I can't give a definitive answer.
What definitive answer can be given is:
If the Windows installation is working still, though impaired, and if the Windows start sector is 2048, diskpart clean can be executed safely without any deteriment.
If the Windows installation is working still, though impaired, and if the Windows start sector is 63, diskpart clean will only aggravate the situation by zeroing the NTFS file system on 63 making the HDD vanish almost to a point of no return as for as data recovery is concerned.
( Just in the recent fortnight, we have seen two cases of diskpart clean wiping sector 63 ( one was accidental and one was due to misguidance in some other forum - not SF) and both are under extremely difficult data recovery process by the able Anshad.)
( For successful data recovery, a valid intact NTFS (Volume boot record ) is essential. Where it is not there, some sort of data recovery is possible with PhotoRec and like-software where these reconstruct the data from specific file signatures and attributes. If it is a multiple partitioned drive, data in other partitions where NTFS remains intact , the data in those can be successfully recovered and copied with TestDisk.)