Could I get pregnant if I have unprotected sex and miss a birth control pill that night?

Yes, but unlikely. Yes, you theoretically ,can get pregnant but it is unlikely, especially if you remembered to take your pill the next day as well as the pill scheduled for that day, after forgetting.