Sleeping sitting up

K

Is it okay to sleep sitting up in second trimester ?

I know sleeping on your side is ideal but when I do that I wake up constantly with bad back pain near my shoulder blades, and also with a sore neck. Is it safe to sleep sitting up in a slightly reclined position as long as I’m not flat on my back?