The Firebase createUser() method takes an email and password field, but what if I want to also allow the user a custom username similar to Snapchat, Instagram,
Yes, there is a way how to update user info in Firebase. All you need - to read this article in Firebase docs and implement method described here Update user info
Using this method you can update diplayName property of FirabaseUser object. Just set user name for displayName property and commit your changes.
I hope this will help you.