When I have a bad cough the only way I can sleep is sitting up as well. Do you have a recliner you could use? I think Karen's suggestion would actually work pretty good.

Get well soon!