No. Willy Wonka is a fictional character from the novel 'Charlie and the Chocolate Factory' which was first published in 1964. Although the story is set in an imaginative world full of magic and wonder, it has no basis in real events from 1896 or any other time in that regard.
The story of Willy Wonka isn't based on a true story from 1896. It was created by Roald Dahl. Dahl had a very creative and vivid imagination. He came up with the idea of the chocolate factory, the Oompa - Loompas, and all the amazing inventions in the factory like the Everlasting Gobstopper and the Fizzy Lifting Drinks. These are all products of his fictional world.
There is no evidence to suggest that the Willy Wonka story set in 1896 is true. Roald Dahl was known for his fantastical tales. The character of Willy Wonka, his factory, and all the adventures that Charlie Bucket has in the story are all fictional elements designed to entertain readers, especially children. It has become a classic children's story, but it is firmly in the realm of fiction, not based on any historical events in 1896.