Do domestic citizens have the right to hire Hong Kong lawyers or foreign lawyers when they violate the law in China?

I can't. Hong Kong lawyers or foreign lawyers are not qualified to practice in China. On the contrary, lawyers in China are not qualified to practice abroad.

Legal link: According to the Lawyers Law of People's Republic of China (PRC) and relevant laws and regulations 1, to apply for practicing as a lawyer, one should meet the following conditions:

(1) support the constitution of People's Republic of China (PRC);

(2) Obtaining a lawyer qualification certificate or a legal professional qualification certificate;

(3) Practicing in a law firm 1 year;

(4) Good conduct.

2, one of the following circumstances, shall not engage in the profession of lawyers:

(1) No or limited capacity for civil conduct;

(2) Having been subjected to criminal punishment, except for negligent crimes;

(3) Being expelled from public office or having his lawyer's practice certificate revoked.