Yes, if you are just giving glucosamine by itself.
Glucosamine is an amino sugar and should be the same regardless if it's in a human or dog supplement.
However, human supplements can contain ingredients that may be unsafe for your dog.
Surprisingly, some ingredients that humans use daily can be fatal to dogs.