a) The answer is yes, the spermies can leak into the vagina and
get the girl pregnant.
b) Having said that, a girl is way less likely to end up with
pregnancy if the ejaculation is outside the vagina than compared to
the ejaculation being inside the vagina.
On a related note, there have been cases where girls have got
pregnant from anal sex. How? Same story..sperm leaks outside the
ass, and gets into the vagina. Has happened, but very rare.