Anal sex

Could you get pregnant by anal sex? My boyfriend and I are talking about anal and he says you don't have to wear a condom when having anal sex so is this true? And do you t pregnant by it?