Can you take good pictures of the moon with a regular digital camera?

I don't have a fancy expensive digital camera and I don't know much about photography lol. My camera is 12 MP. I just need to take some pics of a full moon and sky. Are you able to do this with a basic camera and have the photos come out good even though it's night time?
Update: I forgot to add that I don't need a detailed close up of the moon's surface, just the full moon in the night sky. Like in a landscape. It's for a painting.
3 answers 3