Sleep is state of rest necessary for human wellbeing and survival. Low quality sleep during the night affects human performance during the day and can lead to serious illnesses and disorders. In this paper we propose a multimodal system that monitors the quality of sleep and adapts the ambient environment where user sleeps in order to optimize the sleeping conditions and eventually the quality of sleep. The system generates a sleep record that contains a sleep quality index based on multiple biofeedback measurement from user. A feasibly study with sixty subjects is conducted to shape the system requirements and meet user expectations. The results showed that more than eighty percent of the participants realize the need for the proposed system and want the system to generate a sleep record and to control the ambient environment. Only five percent of the participants disagree that the system would improve the quality of sleep.