No, if you run a chkdsk repair (X:\chkdsk /r) and then reinstalled Windows it would not cause any harm.
However, what's the point if you're going to reinstall Windows? Chkdsk does not fix HDD physical problems. Just enable SMART disk monitoring in your BIOS, and when reloading Windows do a disk reformat in the process.