Can you save a user's in-game currency using google play cloud save? Is it a good idea to do so?

I have a game with an in game currency but currently if the user uninstalls the app, they lose all the currency. I was thinking of using google cloud save to load the coins after reinstall but i haven’t found any examples of that. I’m not sure if that’s the intended use for it or if it’s more for actual progress saves.

Is this possible and is it a good idea to do so? Are there better ways?

Thanks

This is what you’re looking for (Saving Game State to the Cloud section):