Can't lawyers and law firms advertise?

Of course.

According to the code of practice for lawyers

Seventeenth lawyers and law firms can publicize lawyers and law firms and their business fields and professional expertise through advertisements according to law.

Twenty-second lawyers and law firms can publish advertisements to make the public know the legal service business information of lawyers and law firms, so as to publicize their business.

Article 27 The content of a lawyer's personal advertisement shall be limited to the lawyer's name, portrait, age, sex, education background, degree, major, date of lawyer's practice license, name of the law firm where he works, and practice period of the law firm where he works; Charging standard and contact information; The business scope of legal services that can be provided to the society according to law; Practice acting.

Article 28 The contents of the advertisement of a law firm shall be limited to the name, domicile, telephone number, fax number, postal code, e-mail address and website of the law firm; Bar Association; Brief introduction of practicing lawyers in the law firm and the scope of legal services that can be provided to the society according to law; Practice acting.

Twenty-ninth lawyers and law firms shall not publish advertisements in a way that violates the lawyer's mission and damages the lawyer's image, and shall not use the artistic exaggeration of general commercial advertisements to publish advertisements.

Thirtieth lawyers' advertisements shall not appear in violation of the provisions of the Lawyers' Association on the administration of lawyers' advertisements.