Yes you can (I had my MB connected to my HDTV this way) and yes you can. Working the macbook in closed lid (clamshell) mode is discussed on the apple site.
Go reading! Finding the information yourself is the fun part
EDIT: I found where it is mentioned on the apple site, but it was SO easy to find that i wouldn't want to insult your intelligence by posting a link