Lawyers or legal experts come quickly. I want to use National Flag of the People's Republic of China as my avatar. Is it legal?

Under normal circumstances, it is not illegal to simply use the national flag as an avatar, but if you use the national flag as an avatar and do something illegal and criminal, it is illegal and damages the prestige of China people and our country.

According to the National Flag Law of People's Republic of China (PRC)

Article 18 The national flag and its design shall not be used as trademarks or advertisements, and shall not be used for private funeral activities.

Article 19 Whoever intentionally insults the people and the national flag of China by burning, damaging, scribbling, defileing or trampling in public places shall be investigated for criminal responsibility according to law; If the circumstances are relatively minor, the public security organ shall refer to the punishment provisions of the Regulations on Administrative Penalties for Public Security and impose a detention of not more than fifteen days.