Can it be no problem to go to work with pink eye?

No. Acute viral conjunctivitis can be contagious, and an ophthalmologist would fill out a work excuse notice.
No. Its usually very contagious and would be irresponsible to spread to others.