I saw this hack for allowing no username in the signup form:
https://moodle.org/mod/forum/discuss.php?d=329168
This forum post was from 2016 and I see that the code in the signup form seems to have changed since (I am using Moodle 3.6).
I would be very grateful for an updated set of code changes required to achieve this outcome.
Regards
Les