Anything can potential make them sick.
Fipronil (active ingredient in Frontline) is a toxic chemical.
If your dog is scratching from it, I'd switch brands.
Some people have no choice but to use flea preventatives on their pets, but if you have a choice, there are safer ways of trying to kill/prevent fleas.