Time in bed and restorative sleep are not always the same thing.
An irregular schedule, repeated awakenings, medicines, stress, or a health condition can contribute to feeling unrefreshed. A vivid dream by itself does not identify the cause. Keep a simple record of sleep and wake times, awakenings, and daytime sleepiness. Persistent symptoms deserve a conversation with a healthcare professional; mention gasping, loud snoring, or observed breathing pauses. A comfortable room can help you rest, but a mattress or sleep app should not replace assessment of possible breathing problems.
General information; not a diagnosis or a substitute for professional advice.
How can I make my bedroom more comfortable for sleep?
Start with the problems you actually notice: light, noise, room temperature, and bedding comfort. Try practical adjustments before assuming you need an expensive purchase. If comparing mattresses, consider comfort, trial and return terms, and your budget rather than promises to cure sleep problems. Persistent symptoms deserve assessment even when the room feels comfortable.