Don’t we need to avoid taboos when naming people from the Southern Song Dynasty to the Jin Dynasty? Why were the three emperors of the Southern Dynasty and Song Dynasty named Liu Yu, Liu Yu, and Liu Yu respectively? Although they were different, their pronunciations were the same
Names have always been taboo in all dynasties. You just gave an example, but you cannot generalize.
As for Wang Xizhi’s family. There is a zigzag at the end of each person's name. This is intentional. Firstly, it is a naming technique, and secondly, they are all named by the same parents. Of course, there is no need to avoid taboos.==
Also, in many places today, there has been a tradition of seniority. For example, Chunzi generation and Zhenzi generation. Regardless of whether people from a large family are close or distant, people of the same generation always have the same second character in their names! Like Wang Chunfen, Wang Chunlei, Wang Chunyu. . . . . Sometimes a village is full of relatives with the same surname. A whole village is named like this. This is very common. This is still the case in many places here.