For many, there is that belief that you only sin when you’re awake. I am not so sure about that? My contention is that we sin regardless if we are sleeping or not. Scripture talks about thoughts, words, and deeds. It does not say when you are sleeping you cannot sin.
Let’s say you are lusting over a lost love from decades ago when you are sleeping. Is that not a sin? What about sleeping and thinking of your dream car? Is that a sin? The list could go on for a long time. I also understand there are different levels of sleep.
However, I think that only claiming you can sin when your awake you are only fooling yourself.