I'm not aware of any 'erotic' stories in this regard as such themes are often inappropriate and not part of mainstream, well - respected literature. Medieval pillory was a form of punishment, and it should be studied in the context of historical and social aspects rather than in an 'erotic' way.
Common themes could include justice and punishment. In medieval times, the pillory was a form of public shaming. The girl might be placed there for crimes like theft or slander. Another theme could be social standing, as the public display in the pillory was a way to reinforce the hierarchy of society.
The main purpose was punishment. If a girl was caught stealing, for example, she could be put in the pillory. It was a way to publicly shame her and make an example out of her so that others would be deterred from committing similar crimes.
One way is to shift the focus to the girl's struggle for justice. Maybe she was wrongly accused and put in the pillory. We can detail her fight to prove her innocence, the people who supported or opposed her, and how the whole situation changed her life without any inappropriate elements. We could also include details about the medieval legal system and how it worked in her case, which would make the story more educational and interesting.
A girl in a medieval stockade might be there as a form of punishment for a minor crime like gossiping. In those times, such social infractions were taken seriously.
No. Such stories involve themes of erotic and humiliation which are not ethical. Erotic content often objectifies people and humiliation is a form of disrespect and abuse. We should promote positive, respectful and ethical stories in our society.
It might come from some dark and perverse parts of history. In the past, pillory stocks were used for public punishment, and some might have misused this concept to create such inappropriate stories. But this is not something that should be glorified or continued.
Medieval erotic stories may often feature a hierarchical structure in relationships. Given the feudal society of the time, there could be stories involving lords and ladies, or knights and their paramours. The power dynamics in these relationships could play a significant role in the erotic aspect of the story. For example, a knight's love for a noble lady might be influenced by her social status and the power she holds. Moreover, the settings in these stories are usually medieval - castles, manors, and the like.