Is it possible to create a card game that randomly pull cards from different “decks”?

Is it possible to create a card game that works similar to something like this: https://whatthedeck.psu.edu/play/ There are three card categories. Each category has about 15-25 cards in it. When the user click on the blue card, it randomly pulls a blue card from the “blue deck”. The same happens for the red and green decks. Is this possible to build in Adobe Captivate and if so, could someone point me to some tutorials on what features I would need […]