On the contrary:
Luk 1:1 Inasmuch as many have undertaken to compile a narrative of the things that have been accomplished among us,
Luk 1:2 just as those who from the beginning were eyewitnesses and ministers of the word have delivered them to us,
Luk 1:3 it seemed good to me also, having followed all things closely for some time past, to write an orderly account for you, most excellent Theophilus,
Luk 1:4 that you may have certainty concerning the things you have been taught. (ESV)
Joh 20:30 Now Jesus did many other signs in the presence of the disciples, which are not written in this book;
Joh 20:31 but these are written so that you may believe that Jesus is the Christ, the Son of God, and that by believing you may have life in his name.
Joh 21:24 This is the disciple who is bearing witness about these things, and who has written these things, and we know that his testimony is true.
Joh 21:25 Now there are also many other things that Jesus did. Were every one of them to be written, I suppose that the world itself could not contain the books that would be written. (ESV)
Luke and John certainly thought that they were writing historical accounts--that was the whole point of them writing.