Since it's a return flight then no problemo, just make sure you have the check-in agent change the FFP details before the second flight.
It might be an entirely different story with a connecting flight though, where I'm not sure it's possible to credit one leg to one FFP and the next one to a different FFP.