Yes, I have done this in the past, simply connect an external keyboard and mouse (bluetooth or usb and it doesn't need to be Apple branded) and then your good to go - close the lid and continue working, just be careful about heat distribution, I have mine closed but put on an iCurve stand to get area underneath the machine where it always seems to get extremely hot.