Yes you can substitute all purpose flour for whole wheat flour if your dog does not suffer from any allergies. If unsure, always check with your Vet before giving new foods to your dog.