chainline is more than just the cranks, chainring and BB; theres the hub, cog, spacers, rearwheel frame spacing that all effect it; but as a generalization, yes matched sets will give you a better chainline than mismatched.
__________________
putting the pi back in pirate!
It’s an upstanding member of the solar system
Apply the laws of earth and make it a victim
Of Proposition 187