No, it is not necessary to write code to run corner simulations. You can just change the voltage. temperature and process using the standard methods (e.g. design variables for voltage, simulation settings for temperature and models for process) but soon you will realize that having a script that does this for you is very handy. When you have a script, you can start it and do something else while you wait for the results instead of baby sitting the simulator.