Can an F1, part time/ evening MBA student do CPT/ OPT?

If yes, are the rules, time limits same as in full time MBA?