If ur employer gives u NOC, ofcourse u can have a part-time job. Otherwise it's illegal.