Depends just what you heat it with.I've never been keen to alter brake cables, throttle cables yes. I'd always have a nagging doubt I'd put too much heat into the cables when soldering.
My local motorcycle empurium would make you cables to order, they use a meths spirit torch to heat the solder.
Unfortunately, it's long gone now.