No. Pinworms or Enterobius vermicularis can live only in human bodies. Therefore, getting an infection from your pets or vice-versa is ruled out.