Yes, because our body chemicals change early in pregnancy, your dog may know that you're pregnant before you do.
While your dog can definitely sense the changes in your body, they probably won't connect the changes to pregnancy.
Our dogs may be smart, but they aren't doctors.