Earlier quoted context omitted.
In the world you’re proposing, you would also not be able to make word-for-word copies of Harry Potter books, because Harry Potter wouldn’t exist.
why not? people write fiction all the time and put it on the internet for free. in fact, i'd say there's significantly more unpaid fiction writing in the world than paid.
It’s very unlikely that she would (or even could) have devoted herself to writing fiction in her free time as a passion project without hope of monetary reward and without any way to live from her writing for the ten years it took to finish the Potter series.
And even if she had somehow managed, you’d never hear about it, because without publishers to act as gatekeepers it’d have been lost in the mountains of fanfic and whatever other slop amateur writers upload to the internet.