Yes. But there are some conditions and limitations to consider.
The cost of studying in the USA can be expensive for international students, and really American students as well. Working while studying can be helpful to reduce the cost of your education and provide you applicable work experience.
International students who have an F-1 and M-1 visa are allowed to work on-campus and in specified training programs. Students are not allowed to work off-campus during their first academic year. On-campus jobs are student oriented such as working in the library, cafeteria, or student center.
Students can gain employment off-campus after completing their first academic year through programs specifically for international students seeking employment such as Optional Practical Training (OPT), Science, Technology, Engineering, and Mathematics (STEM) Optional Practical Training Extension, and Curricular Practical Training (CPT).