No, girls get pregnant through intercourse.

It is possible to have intercourse while wearing some types of pants, eg with zippers.