Ingame currency/token

is there anyway to have an ingame “token/currency”? something like lets say those “gems” in mobile games. currency that people buy and use inside your app ( also should be tracked how much user used )