Can a lawyer from the same firm defend an accomplice?

Different law firms with the same lawyer's affairs can defend an accomplice separately, but a lawyer can only defend one accomplice. Legal basis:

Article 5 of the Lawyers Law of People's Republic of China (PRC) shall meet the following conditions to apply for practicing as a lawyer:

(1) Support the Constitution of People's Republic of China (PRC);

(2) Obtaining the legal professional qualification through the national unified legal professional qualification examination;

(3) practicing in a law firm for one year;

(4) Good conduct.

the national unified judicial examination certificate and lawyer qualification certificate obtained before the implementation of the national unified legal professional qualification examination have the same effect as the national unified legal professional qualification certificate.