Praying Namaz On Bed While Sitting
Yes, it will be fine.