hi, can you make a game with harry potter

hi, can you make a game with harry potter

If you don’t publish it, I think you can, but if you publish it and make money from it, you can’t cause you don’t own the rights to the character.