They are dangerous if they break and are difficult to dispose of.
You don’t, however, need to invest in expensive and complicated grow-light setups with lights produced specifically for indoor growing. Relatively inexpensive fluorescent or LED shop lights will work fine. Fluorescent lights work, but you need to be careful with them. They are dangerous if they break and are difficult to dispose of. I switched to LEDs a few years ago and am very happy with them. I started with these lights and have since added a few of these which are less bulky but more challenging to hang from my seed starting shelf.