I would think it probably wouldn't be. Pink eye is a bacterial infection, and while it's certainly true that there are a lot of bacteria around the anus, in order to give something to someone, you would have to be farting on their pillow nude, and they'd have to introduce the bacteria (by touching the pillow and then their eye, or by laying on the pillow) within a few minutes, before it died. I don't know what type of bacteria causes pink eye, but it would have to be ingested, and I don't believe it would survive a trip through the digestive tract.