I don't suppose it has any connection to the Victorian genre of Christmas ghost stories, but I can imagine this story having been deeply satisfying to generations of cathedral choir school pupils... Again, it reflects Dunstan's fatherly character, combining kindness and firmness as each is required!
Stories of St Dunstan, 7: The Boys of Canterbury and St Dunstan's Ghost , by Dr Eleanor Parker, A Clerk of Oxford blog