MacBook in bed: M1 Air vs. M1 Pro with fans disabled
Think different.
After surgery I needed some recovery time at home, so I had to use a rolling table that cantilevered over my bed for a few weeks. Amazon has a top 100 rolling &amp; over-bed tables list to choose from.
One model (#92) actually looks like it can hold an iMac or perhaps even an external monitor and a laptop:

One added benefit is a real table capable of holding meals, books, and other essentials. Hot liquids are best consumed from a travel mug with an auto-closing top. Trust me.