Not Medical Advice: No. Pinkeye has a number of different causes which does not include watching a dog poop.
Pinkeye, also known as conjunctivitis, is redness and swelling of the conjunctiva, the mucous membrane that lines the eyelid and eye surface. The lining of the eye is usually clear. If irritation or infection occurs, the lining becomes red and swollen.
Causes of Pinkeye:
Viruses
Bacteria
Irritants such as shampoos, dirt, smoke, and pool chlorine
Allergies, like dust, pollen, or a special type of allergy that affects some contact lens wearers
The symptoms of pinkeye differ based on the cause of the inflammation, but may include:
Redness in the white of the eye or inner eyelid
Increased amount of tears
Thick yellow discharge that crusts over the eyelashes, especially after sleep
Green or white discharge from the eye
Itchy eyes
Burning eyes
Blurred vision
Increased sensitivity to light
For more about pinkeye, go to WebMD.
Prevent Pink Eye: Here are the Steps To Avoid Getting It And Spreading, shared by Improve Eyesight HQ.