It was illegal in London. There is an entire diatribe in A Christmas Carol wherein Dickens goes on a rant about how they tried to pass a law banning bakers from leaving their stoves unlocked on the Sabbath when closing up to allow poor folks to use it for warmth or cooking as working class families did not have access to cooking stoves. They already couldn't work or sell on Sunday, so they let poor people use their stuff, these laws, championed by Andrew Agnew who Dickens publicly called out, would mean the poor couldn't even eat on their one day off.
Dickens' covers it here
https://www.pagebypagebooks.com/Charles_Dickens/Sunday_Under_Three_Heads/As_It_Is_p1.html
The bakers' shops in the humbler suburbs especially, are filled with men, women, and children, each anxiously waiting for the Sunday dinner. Look at the group of children who surround that working man who has just emerged from the baker's shop at the corner of the street, with the reeking dish, in which a diminutive joint of mutton simmers above a vast heap of half-browned potatoes. How the young rogues clap their hands, and dance round their father, for very joy at the prospect of the feast: and how anxiously the youngest and chubbiest of the lot, lingers on tiptoe by his side, trying to get a peep into the interior of the dish. They turn up the street, and the chubby-faced boy trots on as fast as his little legs will carry him, to herald the approach of the dinner to 'Mother' who is standing with a baby in her arms on the doorstep, and who seems almost as pleased with the whole scene as the children themselves; whereupon 'baby' not precisely understanding the importance of the business in hand, but clearly perceiving that it is something unusually lively, kicks and crows most lustily, to the unspeakable delight of all the children and both the parents: and the dinner is borne into the house amidst a shouting of small voices, and jumping of fat legs, which would fill Sir Andrew Agnew with astonishment; as well it might, seeing that Baronets, generally speaking, eat pretty comfortable dinners all the week through, and cannot be expected to understand what people feel, who only have a meat dinner on one day out of every seven.
Scrooge and the ghost's conversation
In time the bells ceased, and the bakers were shut up; and yet there was a genial shadowing forth of all these dinners and the progress of their cooking, in the thawed blotch of wet above each baker's oven; where the pavement smoked as if its stones were cooking too.
"Is there a peculiar flavour in what you sprinkle from your torch?" asked Scrooge.
"There is. My own."
"Would it apply to any kind of dinner on this day?" asked Scrooge.
"To any kindly given. To a poor one most."
"Why to a poor one most?" asked Scrooge.
"Because it needs it most."
"Spirit," said Scrooge, after a moment's thought, "I wonder you, of all the beings in the many worlds about us, should desire to cramp these people's opportunities of innocent enjoyment."
"I!" cried the Spirit.
"You would deprive them of their means of dining every seventh day, often the only day on which they can be said to dine at all," said Scrooge. "Wouldn't you?"
"I!" cried the Spirit.
"You seek to close these places on the Seventh Day," said Scrooge. "And it comes to the same thing."
"I seek!" exclaimed the Spirit.
"Forgive me if I am wrong. It has been done in your name, or at least in that of your family," said Scrooge.
"There are some upon this earth of yours," returned the Spirit, "who lay claim to know us, and who do their deeds of passion, pride, ill-will, hatred, envy, bigotry, and selfishness in our name, who are as strange to us and all our kith and kin, as if they had never lived. Remember that, and charge their doings on themselves, not us."
-end
It was illegal in London. There is an entire diatribe in A Christmas Carol wherein Dickens goes on a rant about how they tried to pass a law banning bakers from leaving their stoves unlocked on the Sabbath when closing up to allow poor folks to use it for warmth or cooking as working class families did not have access to cooking stoves. They already couldn't work or sell on Sunday, so they let poor people use their stuff, these laws, championed by Andrew Agnew who Dickens publicly called out, would mean the poor couldn't even eat on their one day off.
Dickens' covers it here https://www.pagebypagebooks.com/Charles_Dickens/Sunday_Under_Three_Heads/As_It_Is_p1.html
Scrooge and the ghost's conversation
"Is there a peculiar flavour in what you sprinkle from your torch?" asked Scrooge.
"There is. My own."
"Would it apply to any kind of dinner on this day?" asked Scrooge.
"To any kindly given. To a poor one most."
"Why to a poor one most?" asked Scrooge.
"Because it needs it most."
"Spirit," said Scrooge, after a moment's thought, "I wonder you, of all the beings in the many worlds about us, should desire to cramp these people's opportunities of innocent enjoyment."
"I!" cried the Spirit.
"You would deprive them of their means of dining every seventh day, often the only day on which they can be said to dine at all," said Scrooge. "Wouldn't you?"
"I!" cried the Spirit.
"You seek to close these places on the Seventh Day," said Scrooge. "And it comes to the same thing."
"I seek!" exclaimed the Spirit.
"Forgive me if I am wrong. It has been done in your name, or at least in that of your family," said Scrooge.
"There are some upon this earth of yours," returned the Spirit, "who lay claim to know us, and who do their deeds of passion, pride, ill-will, hatred, envy, bigotry, and selfishness in our name, who are as strange to us and all our kith and kin, as if they had never lived. Remember that, and charge their doings on themselves, not us." -end
https://www.nwaonline.com/news/2018/dec/21/scrooge-s-accusation-20181221/
When Dickens called the novella a "hammer on behalf of the poor man's child" he fucking meant it