My best friend growing up was deaf. I learned sign language and basic commands for service dogs he had over the years. I adopted a deaf border collie many moons ago and the dog picked up sign real quick. He was a great dog. The only trick was carrying a water gun to get his attention sometimes.
Had a deaf white boxer once, sweetest dog ever. Knew hand commands.