sleeping in Rock n Play

M
Does anyone's baby sleep in their rock n play for night sleep? We only use ours for naps and at night he's in a cosleeper next to my bed. He has been sleeping terribly and I'm thinking about having him sleep in his rock n play to make it through what I hope is just a sleep regression phase. I know it's controversial but he's been sleeping so terribly that we end up bedsharing before the night it through and I think the rock n play is safer than bedsharing with us.