A similar question from recently.
There is much literary work, across various ages and cultures, that feature traveling to the moon or encountering moon inhabitants as a key narrative:
And, as you may be aware, many myths and legends regarding 'moon deities' across the world.
More recently, Jules Vernes' work ' a trip to the moon' and Melies' first ever science-fiction movie 'A trip to the moon' follow this literary topic.
In these works, however, the notion of traveling to the moon is handled as a fiction meant to entertain, not a serious consideration, or as a myth (Actually, wikipedia has a page dedicated to the subject).
Fontenelle's Conversations on the plurality of Worlds is more interesting, as it is perhaps the first serious discussion on the possibility for mankind to move outside of earth, in particular land on the moon.
Very representative of the Enlightenment period, Fontenelle addresses the issue of determining if others worlds are inhabited, and of the possibility of ever going to the moon, with a purely rational approach. Fontanelle did not investigate the means to do it, but entertained a blind faith that the ingenuity of the human mind would, one day, allow a man to land there.