Can I use #12 ground wire as jumper when the other wire in the box is #14?
Yes.  You can always use larger gauge wire than for what the circuit is protected.  One limitation may be making sure you don't try to cram more/larger wires into the box than what it's capacity is.