Yes, it’s safe to play these games online, provided you’re using a reputable developer. Such providers employ encryption to protect users.