Give the laptop something to sit on that isn't you
The reason working from bed hurts is not the bed. It is that the laptop sits on your thighs, which drops the screen roughly forty centimetres below eye level and rolls your shoulders forward to reach the keyboard. An hour of that is a sore neck.
A wedge support pillow raises the laptop to somewhere near lap-desk height and gives your arms a surface to rest on, so the weight is carried by the pillow rather than your shoulders.