Yes. Set the page’s Type of content to User or whatever other datatype contains the username field. For that data type’s records, keep the slug field set to the same value as username.
User
username
slug