Is there some option to set the username to the realname by default?
E.g. so that Joe Smith will get joesmith as username.
We call that username and full name. There is no such option at this time. You can suppress display of the full name in site settings however, forcing everyone to just go by username.