It is grammatical. Most dogs like to run. An exception would be an obese Cocker Spaniel with arthritis.
Can you ask this:
Don't dogs like to run?
Please be aware that I'm neither a native English speaker nor a teacher.
Remember - if you don't use correct capitalisation, punctuation and spacing, anything you write will be incorrect.