Can get you pregnant from anal sex if he cums in you?

Me and my boyfriend have had anal but can I get pregnant from it?