Yes, you can replace a LinkedIn account in a sequence but only until the automatic LinkedIn connection requests and messages start sending. As soon as they start, you will not be able to replace the LinkedIn account or remove it from the sequence. If you want to stop sending automatic Linkedin messages or connection requests at this point, you'll need to remove this step from the sequence.