Can I get pregnant right after my period ends?

Maybe. Theoretically yes, especially if your menstrual bleeding goes on for many days. With a texbook 28-day-cycle with 5 days of bleeding it would be unusual to ovulate that early, but not impossible for sure.