I nursed a ton laying in bed on my side.
I would prop myself up a little to help baby latch and then lay on my side with my arm under my head. Baby would eat on breast closest to bed. I put a rolled blanket behind baby's back to keep them in position (especially important if they were on the outside of the bed as we don't have bed rails). For my comfort, I put a pillow between my knees and one behind my back (if DH wasn't in bed with me and there was room).