I don't have any devices yet , but I wanted to use RTL viewer of Quartus to verify some verilog codes. Is there any way to do it?
I see that I can do this simulations using project wizard, but I can't run it since I don't have a device
Just select any target device even if it doesn't end up being your chosen device, and use the RTL Viewer. You can change the device at any point later (Assignments menu -> Device) once you know which one you will use.
Of course, you have to have at least one device family (.qdz file from the Download Center) installed.