Yes. This comes handy when you're dealing with transition metal salts like Ni, Cu, Mn, Co, Cr etc. You can take a good guess at the cation.
For s-block metals, flame test should do the trick. Each cation has a distinct flame.
However, it is not always possible to predict colour based upon one ion alone.