Often yes, because the tool uses low-level USB access and unsigned drivers. But always scan the exact file; if you downloaded from a shady source, delete it.
Direct file names to look for: QFlash_Tool_v5.0.2.zip , QFIL_5.0.2.rar , or QPST.5.0.2_Windows.zip .
Look for “stock firmware” in XDA forums, manufacturer repair sites (e.g., Xiaomi’s MIUI ROM archive), or reputable mirror sites like AndroidHost.ru (use with caution).