I would say a good case can be made to answer 'yes' on this.
Per Wikipedia, "During the Middle Ages in the Middle East, foundations for the scientific method were laid by Alhazen in his Book of Optics." The site goes on to say, "Medieval science carried on the views of the Hellenist civilization of Socrates, Plato, and Aristotle, as shown by Alhazen's lost work "A Book in which I have Summarized the Science of Optics from the Two Books of Euclid and Ptolemy, to which I have added the Notions of the First Discourse which is Missing from Ptolemy's Book from Ibn Abi Usaibia's catalog".
Given optics was included as a branch of "science" during this time, I think it would be reasonable to consider a story which leverages the fantastical and advanced use of optics in a fictional setting as early 'science fiction'.
One such story was by Geoffrey Chaucer who included in the 14th century “The Canterbury Tales”, the story "The Squire's Tale". In the story Chaucer describes a mirror in which characters could see what was happening in faraway places and communicate with another such mirror in Rome. What distinguishes this mirror from other 'magical' items is that the device does not rely on a magical or religious operation. Instead, there is speculation by one character that the mirror was not "magic" but "an arrangement of angles and cunningly carefully constructed reflections". I.e. a "scientific" solution rather than magical.
And some of them marveled about the mirror, which
had been carried up into the main tower, how one
could see such things in it. One answered and said
that it might well work in a natural way, through
arrangements of angles and of cunning carefully
constructed reflections, and said there was such a one
in Rome.
Or as it appears in the original text:
They demen gladly to the badder ende.
And somme of hem wondred on the mirour
That born was up into the maister-tour,
How men myghte in it swiche thynges se.
Another answerde, and seyde, it myghte wel be
Naturelly by composiciouns
Of anglis and of slye reflexiouns;
And seyden, that in Rome was swich oon.
The characters go on to relate the mirror to ancient philosopher/scientists as opposed to magicians and/or religious figures. Given that, I would argue that the characters are approaching the device in a way that speaks more to advanced technology (a.k.a. science fiction) than magic.
They spoke of Alhazen and Vitello and
Aristotle, who wrote of curious mirrors and of
perspective glasses, as they know who have heard
their books.
Or again as written in Middle English
They speken of Alocen and Vitulon,
And Aristotle, that writen in hir lyves
Of queynte mirours and of perspectives,
As knowen they that han hir bookes herd.
The Wikipedia site on science fiction also includes Ibn al-Nafis's Theologus Autodidactus in the 13th century as an early science fiction story.
The final two chapters of the story resemble a science fiction plot, where the end of the world, doomsday, resurrection and afterlife are predicted and scientifically explained using his own empirical knowledge of biology, astronomy, cosmology and geology.
Based on that and the example from Chaucer, I think we can reasonably say 'yes' to this question. That the intent of the authors in these stories would be to write in a manner consistent with what we could consider 'science fiction'. Namely again per Wikipedia:
"Science fiction is a genre of speculative fiction typically dealing with imaginative concepts such as futuristic science and technology, space travel, time travel, faster than light travel, parallel universes, and extraterrestrial life....It usually eschews the supernatural, and unlike the related genre of fantasy, historically science fiction stories were intended to have at least a faint grounding in science-based fact or theory at the time the story was created,