Yes. But insist that your boarding pass has the FF number you want printed on it, and keep it until you are sure the miles have gone to the right place. Generally there isn't a problem, but BA are notorious for being unable to change the FF programme correctly at check-in.