Just did a similar experiment but outside the harry potter universe to remove the training bias. It worked well!
> ChatGPT: "Generate a two page short story like harry potter, but don“t mention anyting harry potter related. make up 4 unique spells in the story that are used"