Not really - this “tradition” as you call it obviously started back in the day when women did not have equal rights in society and only the husband’s lineage mattered.
You can do hyphenated last names for a kid and let the kids decide what names they want to carry forward for the next generation. Or they can make up their own. The point is it’s up to them and they can choose whatever they want and not be coerced to do something because of some tradition that is rooted in sexism.