Feeling like a bad mom

I just need some one to tell me it’s okay... my son has awful reflux and basically cries all night in his bassinet regardless if I put it at a slight incline. So my husband I have been taking turns holding him on our chests while the other sleeps and this is just not ideal for anyone. So I put him in the rock and play to sleep and he is doing so much better... I know it’s not a safe sleep place but I don’t know what else to do. He is on reflux meds already. I feel like the rock n play is a safer alternative to us holding him in bed. Feeling defeated.