Good morning
Daividh!
Yes, in Germany it's prohibited by law to name a child with a surname (like Schmidt, Müller, Wegner, Mayer etc.) or with other words that are no first names. There are a very few exceptions because in
America there are tons of first names that originally were surnames but that are now fully accepted as first names, so this law is weakening a little bit.
Eberhard is a common
German first name which is used as a surname as well. Originally it was just a first name. So that example is _the other way round_ again.
Regards,
Satu