Yes, generally you acquire in-game currency which you can buy for real money or earn through playing the game. You use this to buy a digital booster pack which contains a random collection of cards, similar to the paper game.
Most collectible card games nowadays work like this, because it makes the publisher a lot more money than the model you describe.
Most collectible card games nowadays work like this, because it makes the publisher a lot more money than the model you describe.