Of course, you can — if you want to. Many online casinos offer demo versions of their slots, card, and table games, so it's possible to try them out before you place a real money stake. Another aspect is the law, but gamblers can feel pretty safe: there is no punishment for online gambling even in the states where real money online casinos are banned.