Yes, You can convert AC to DC using diodes. Design a Full wave rectifier or Bridge rectifiers using diode to convert AC to pulsating DC, and add a low pass filter to smoothen the output voltage . Alternate arrangement to explain current flow in positive and negative half cycles of AC voltage.