I think you’re taking a literal interpretation to an extreme that was never intended. Of course the Church does not prohibit women from writing literary fiction. But then the Church also does not prohibit women from teaching. If you are going to say that women cannot write literary fiction because people ‘could learn life lessons’ then you had better also ban women from becoming doctors, nurses, midwives, physiotherapists, optometrists, dental surgeons, lawyers, accountants, university professors, school teachers, musicians, actors, artists, and politicians, since it is likely that in all of these roles they will either teach explicitly (most senior doctors, for example, will at some point become responsible for teaching medical students and junior doctors) or implicitly (e.g. learning what you call a ‘life lesson’ from watching a film or a play).
I believe that what sacred scripture and the Church’s tradition prohibits is women giving theological instruction in the context of public worship. It is not even prohibited for women to give theological instruction in an educational setting such as a school or university. When I was at university there was a lecturer in the theology faculty who was a Sister of Notre Dame de Namur. There are, of course, many Catholic women, religious and secular, who are distinguished academics (look up Elisabeth Schüssler Fiorenza for example).
Finally, you must have heard of the great Scottish Catholic novelist Dame Muriel Spark, probably best known for The Prime of Miss Jean Brodie.