For example, Iceland has very restrictive naming laws:
https://en.wikipedia.org/wiki/Naming_law
> Parents are limited to choosing children's names from the Personal Names Register, which as of 2013 approved 1800 names for each gender.[20] Since 2019 given names are no longer restricted by gender.[21] The Icelandic Naming Committee maintains the list and hears requests for exceptions.
Israel apparently demands first and last names:
> According to a law from 1956, a person should have a first name (more than one is permitted) and surname (a double-barrelled name is permitted).
Finland is, apparently, worse than Iceland:
> The Names Act of 1985 requires that all Finnish citizens and residents have at least one and at the most four first names. Persons who do not have a first name are obligated to adopt one when they are entered into the Finnish national population database. Parents of new-born children must name their child and inform the population registry within two months of the child's birth. The name may be chosen freely, but it must not be
> a name used primarily by persons of the other sex
> a name foreign to the naming tradition in Finland
> a surname, except a patronymic as last given name
> a name already used by a sibling, if this is to be the only given name.