Using an email as the user Login name - possible ?

Hi ppl,
I would like to know if the use of an email as the username during login or sign-up is possible to do with Dhtml ?

The emailname "youremail@server.com" will also need to be check against a relational database to proceed to the apropriate pages…

Has someone done it in this way before ?
Thanks
:wink: