 with which you choose for and against God cannot be engaged. So no, you can't commit a sin while you're dreaming, but there is an asterisk next to that. St. Thomas, he talks a little bit about how if you are living a lifestyle in which you are committing mortal sins,