You can do this. Lots of apps Uses this technique for motivating users for in-App Purchase. But all the updations upon coin expenditure should take place on application level (and your server if you are using server)
And coins only purchased from in-App Purchase