No. PLEASE DON'T DO THIS!
PSU connectors are not standardized; an EVGA PSU might have different pins than a Seasonic PSU. While the cables fit, if the cable is not fit for the PSU, you're going to start a fire, have something burn out, or both. Make sure you have done enough research to verify that the cables are identical to the originals, or better yet, buy them officially. Your drives, CPU, GPU(s) are worth much more than the low price of a new proper cable.
Some sources:
https://www.gamersnexus.net/guides/2702-psa-on-mixing-modular-psu-cables-dont-do-it
https://old.reddit.com/r/hardware/comments/2v42b1/psa_modular_power_supply_cables_are_not_swappable/
And this is why multimeters / voltage testes were invented.
OK, it's not the real reason but you get the point. If you are building your own rig and swapping out PCIe power supply cables, you probably have a tester around someplace and know how to use it.
There are several brands that are plug compatible but wired differently.
There are even models within brands that are plug compatible but wired differently I'm looking at you corsair...
-Dave