Yes, you can keep your identity a secret if you win the lottery. In most cases, the lottery company will not release your name to the public unless you permit them.