Yes. Fertility declines with age, but female dogs can remain capable of conception until around 10 to 12 years old. If your nine-year-old dog was in heat and encountered an intact male, pregnancy is possible.
Breeding an older dog carries higher risks of complications during pregnancy and whelping. If you suspect your dog may be pregnant, consult a veterinarian to discuss health risks and options.