There are hundreds of other such cases. The great composers often dreamed music and many writers have simply described situations that that they encountered in dreams. Robert Louis Stevenson's Dr Jekyll and Mr Hyde was generated in a dream. Artists have seen original works and re-created them in wakefulness, and poets like Masefield have read poems in dreams and written them on waking. There is no doubt that the unusual linking of ideas that occurs naturally in dreams can be utilised profitably.
Different techniques work for different people.
For some, simply having read this article will be enough to enable the recognition of an incongruity in a dream, so causing awareness of dreaming. Reading fuller background material, especially books on the topic, will also aid that process. Keeping a dream diary is particularly helpful because it increases your dream recall and focuses attention on dreams. Another technique is to ask yourself many times in the day whether or not you are dreaming. This practice effect will increase the likelihood of you asking the same question during a dream.