The answer to the OP's question depends on the particular carriers and FF programs. For example, DL doesn't permit one to change the FF number after the first flight of an itinerary has been flown (or boarded, I suspect). Other programs make it easy.