Tomatoes are a warm weather plant. They need a lot of sun while they are growing. There are short-season varieties on the market, one of which is named 'Alaskan Fancy' and needs about 55 days to produce ripe fruit.
If you have the space and can afford the equipment for lighting and temperature/humidity control, it's possible that you could grow tomatoes indoors. I have never done that, myself, as I do not have the space for them, nor can I afford the proper florescent lights.