Yes. You can even change the k-point sampling and a lot of other parameters. The only thing which will make the code object is if you change the atoms (except the coordinates, those are ok to change) or basis sets. Put in another way, the matrix layout of the old and new system must match.