Side Feeding in Bed / Falling asleep?

Luna • Baby Elle arrived 9/16/15 😍
I recently tried side feeding in bed with my darling and I loved it and so did she!! It worked so well at calming her to sleep during those fussy hours at night. The problem is, I also fall asleep... Is this safe? My PP doula said put a pillow behind her so she doesn't roll anywhere. I'm just so nervous!! What do you guys do?