A circuit breaker can be used as a switch for lighting in some cases, but it's not recommended to use a circuit breaker as a switch in general.
If you are using a breaker as a lighting switch it must meet the following requirements:
- OSHA 1910.304(f)(1)(viii) - Circuit breakers used as switches in 120-volt and 277-volt, fluorescent lighting circuits shall be listed and marked "SWD."
- NEC (NFPA 70) - 240.83(D), "Circuit breakers used as switches in 120V and 277V fluoresecent lighting circuits shall be listed and shall be marked SWD or HID. Circuit breakers used as switches in high-intensity discharge lighting circuits shall be listed and shall be marked as HID."
- Note: SWD marking indicates "Switch Duty" rated for fluorescent lighting.
- Note: HID marking indicates "High-Intensity-Discharge" duty rated for lighting applications High Intensity Discharge lighting.
You also must follow NFPA 70E's requirement for "normal operation". If the breaker has tripped off, you can not just turn it back on. See this post which provides more information: https://www.70econsultants.com/repetitive-closing-circuit-breakers-dangerous/
Additionally, you must consider the incident energy rating of the equipment. You should not operate the breaker if turning it on/off increases the likelihood of an arc flash incident of occurring.