Dogs can carry parasites that can be passed to humans such as roundworms and giardia. Yes they can make you sick and roundworms, of not treated, can cause blindness. Sooooo.... Yeah... I wouldn't if I were you.
I am assuming that you did not actually consume dog poop when I say that I highly doubt you can get sick from the mere presence of dog poop. If you smell it, don't worry about getting sick. If you touch it, wash your hands. If you eat it, seek psychiatric attention immediately!!