To have any desire, idea, or plan that is unlikely to be realized; to imagine visionary projects or schemes; to have an idle fancy or a pipe dream; to daydream.
dream up
verb
To have an imaginative, unusual or foolish idea, to invent something unreal.
How often have the words build castles in the air and dream up occurred in a corpus of books? (source: Google Ngram Viewer )