Question: I have beaten every boss but the moon lord with out potions, but I am wondering if it is even possible to do it. I would like to hear strategies on how to do it.

Answer: 
there are a few methods, most being quite cheap. There was this person who set up an essentially AFK playthrough of terraria and for the Moon lord the character was teleported around at seemingly specific timings. You may also be able to set up a hoik track to dodge his attacks. There is also, of course, practicing dodging his attacks and having a good arena to fight him in. for the arena have honey in bubbles(from party girl), heart lanterns, campfire, heart and star statues set up on one second timers, a couple of layers to block his laser, have the nurse and dryad move in just below the arena (for instant healing and extra defense) and anything else you would like to have. To make navigation around the arena easier, I recommend using the UFO or if you are doing an expert playthrough, use the shrimpy truffle. Hope this helps!
I made this little video. I'm beating him without any potions.