The Commonwealth and Australian gambling laws are directed at operators, not the players. Should any legal trouble arise, the casino will face penalties, not you. However, you should always make sure to play at a reputable online casino with a valid license.