Do people fart in their sleep?

I apparently farted in my sleep last night, I don’t actually remember it I just remember my bf waking me up screaming “what the fuck is wrong with you/why would you do that/you’re fucking disgusting”. He screamed at me until I was bawling my eyes out and then he put headphones on and fell asleep. This morning I tried to talk to him about it and he told me people don’t fart in their sleep and I must have been awake/ done it on purpose and he broke up with me over it. I wish I was making this up. So- do people really fart in their sleep or did I do it on purpose and just dont remember ?