One of the Authelia devs here. Authelia actually in 4.27.0 supports matching the user name as a subdomain in a rule, or a group name.
Ideally long term we'll add regex support for usernames/groups in both path's and domains so that people can customize this further.