Of course not. Those engines and rolling stock were large and chunky and used magnets (they coexisted with the Plarail scale Motor Road and Rail range for a short time), whereas this is clearly a more modern item. One photo of this even shows the licensing info (including Creatures and Game Freak, which are not one company and are connected to Pokémon). Therefore, this is, as Sun pointed out, from one of the Pokémon sets (if it were Thomas, it would've had Britt Allcroft or Gullane markings underneath).