Is it illegal to name a child the same as a famous person?

Article 99: Right of Name Citizens enjoy the right of name and have the right to decide, use and change their names in accordance with regulations, and others are prohibited from interfering, misappropriating or counterfeiting.

Legal persons, individual industrial and commercial households, and individual partnerships enjoy the right to name. Corporate legal persons, individual industrial and commercial households, and individual partnerships have the right to use and transfer their names in accordance with the law.

For reference

Not illegal