Not directly. Depending on your purpose, you may prefer to do an ElasticConstants analysis instead, but otherwise you will just have to very a and c, and plot the total energy and function of the two parameters. Very easy to do in Python, fortunately, you can just make two loops, collect the data, and plot using pylab.