Yes, online casinos are legal and completely safe, as long as they don't require you to disclose personal information or entice you to gamble at real online casinos.