It won't catch on fire -- the iPhone charger is only 5 watts (5 volts at 1000 mA).
If you are doing it because the cable is starting to disintegrate, you may want to consider using electrical tape. It is available in white (from Home Depot and other places) if you are looking for a near match.