Simple answer, no it cannot. Pregnancy only happens when sperm meets egg. If you want to understand the basics properly, just ask a doctor, they explain these things clearly and respectfully.
No, pregnancy needs sperm to reach an egg, which doesnt happen in same sex relations. So that alone cannot cause pregnancy. If you ever have doubts about how conception works, a gynac will explain it without any judgement.