Yes, you can create an extension who contains a new custom module called member by exemple, and then write your customs functions like member/register, member/login, member/myaccount, etc.
You can use the original user module as example for register and login/logout functions code.