Perhaps, but definitely not millions of years, the fuel requirements would be enormous and would require fossil fuels which dinosaurs did not have. Also their muscle structures were poorly suited for repeated quick back and forth movements needed to start fires.
Why does fire need to last millions of years? It is quite likely that the biggest dino-cities had watchpoints with torches that were never extinguished, these could be refueled as and when required. But even the best guesses say these would usually stay lit for 6 months, or a few years in the northern cities.
As Its a Sphere correctly points out Dinosaurs had mastered fire. They also had an abundant supply of trees and were naturally adept at using axes and the two man crosscut saw, as shown in this historical reconstruction of dinosaur techniques:

This is where we get the word "saw" from. It is a corruption of "'saur".
This proves beyond all doubt that dinosaurs were a sea faring mercantile race.