Can do but it's probably eaten all it needs. It was probably off to pupate when the cat found it.
Just a word of warning. Caterpillars are quite often parasitised by another insects so don't beat yourself up if it doesn't make it. It's all part and parcel of the natural world.