It isn't a good idea.
You shouldn't use dog shampoo on a person - we're not talking flea shampoos here, just basic dog shampoos which are supposed to be formulated for the pH of dogs and not humans.
If you disrupt the pH levels you can leave the scalp susceptible to bacterial infection.