The question

Can a lawyer withdraw from a civil case (representing 4 people) due to non payment, another lawyer take over the case and then later the first lawyer come back to represent a portion (2 out of the original 4) Is that prejudicial or conflict in any way that judge would reject? This is in Texas