Can I use rectifier diodes with DC (1N4002)?
Yes,
The beauty of using the full bridge rectifier diode (which is 4 M7 Diode in your circuit) is that you can input DC directly to the AC-DC converter, It should work fine. Even if you reverse the polarity of DC input it should also work.