Is it okay to use the same word in five generations?
Of course. In ancient times, famous families with genealogy were all names of three or five generations. Many families have no genealogy, and now they don't pay attention to it. Some deliberately use the same words as the previous generation. For example, the name of the previous generation is X, and the name of the next generation is Xiao, or Jing. Customs vary. Be careful, as long as it doesn't cause misunderstanding.