There is no such rigid rule, and there is no such custom anywhere. For example, Cao Cao, whose sons are called Cao Zhi and Cao Pi, doesn't care about a few words at all. You can choose a name according to your personal preference.
Precautions for naming names:
1. Pay attention to the uncommon words with strokes.
2. Pay attention to the words that conflict with the birth year.
3. Pay attention to words with bad meanings.