Laying on back

I know you can’t lay on your back in pregnancy. But how far do you take that. Lounging on the sofa? Like half propped up, is that allowed?