Help!

I co sleep with my 8 month old and love breastfeeding him but he wants to use my breast as a pacifier all night long! He refuses the pacifier and if I try to swap my breast for one he freaks out and gets so upset. I don’t know what to do because I’m tired and want to sleep but it hurts to lay on my side for that long. Even when he’s not latched he gets so bad when I turn over. I’m not <a href="https://play.google.com/store/apps/details?id=com.glow.android.eve">eve</a> gonna let my baby cry it out and him sleeping his own bed is out of the question. Any advice on what to do?