actually, yes you can. The law actually protects your right to do so.
as for the ban trigger, most forum software i know of allows for banning via IP, username, email, etc… seperately or all of the above. If I only ban your user name you can log in as guest.