In 2K22 you can earn in-game by playing games in different modes, completing objectives/city quests, logging in daily, selling items, and watching ads.
However, all these methods can help you earn in-game over time, but they may not provide enough currency to purchase all of the desired items and upgrades in the game.