D20 Modern had a system where instead of tracking your money directly, it would track a "wealth" attribute. Transactions have a DC instead of price, and a Wealth check is made to determine if a character can afford buying something. The check can also alter Wealth representing excessive spending or profits.
Has anyone published something like this for D&D 5e? Or has anyone had success adapting it as a homebrew system?