If you want to rig up a system where you can view your tablet from your bed while laying on your back you'll just need to install a bookshelf a few feet above your pillow and make a mount from sturdy cardboard to attach to the underside of the shelf.

Reddit user bookshelffairy built this mount so he can use a bluetooth keyboard and mouse for internet browsing while avoiding back pain when in bed. The cardboard mount can be attached to the shelf in a variety of ways. If you know someone who is confined to their bed or just really lazy this seems to be an ideal solution for using a tablet in your bed.