Yes, you can as long as it is in the northeastern part of the space and gets plenty of sunlight and ventilation. Avoid placing your bed in a way that your feet face the pooja room.