Can you treat patients with epilepsy or severe migraines?

Consult with their physician prior but light can potentially cause seizures or trigger migraines.