Its not good to work from bed. Working in the same space as your bedroom will either make you constantly sleepy or it'll be very hard to sleep. The mind will either be in work mode cause you're working in that room. Or sleepy cause your bed is in that room