Can a person with dairy allergy consume medications that contain lactose?

no they can not but it might be slightly possible.