Yes, but most of the time you will need express authorization from immigration officials or from your school.  In other words, the general rule is you need prior consent to work on an F1 visa. Thus, a word of caution: an F1 student that works without permission can lose his or her F1 visa status.