Te or Molex makes them.
But using it as shown in the picture is mechanically problematic.
It is of course impossible to bend it many times, etc. as you describe. It will break.
Also, you are using it as an interconnect with the potentiometer, but the twist and vibration from operating the pot will be transmitted directly to the solder on the terminals and will cause cracks. use the wire has to relieve the stress.