Is it haram to write about romance? Is it also haram to write about acts of sin but the moral of the story is guidance to Islam?

It shouldn’t be haram if the purpose is to guide people to what is right, as long as it is not explicit in the descriptions