No reason it should not work. Keep your boarding passes with the respective FF account references until everything has credited the way you want it to.
Historically (for me), the only times this has been an issue has been with connecting / same-day flights. It can be done correctly but requires data entry for each flight segment rather than the PNR.
Happy wandering
Fred