Mark, I tried that last year... no dice.
It was warm enough in the house, but tomato
plants need a whole lot of sun, so it just gradually withered away & died off.
I did put my
pepper plants into containers & bring them in, & they did just fine in a sunny window. (A little slower maybe, & I had to pollinate the blossoms with a Q-tip.) I did a really dumb thing though, & sat the containers out on the deck too soon, in the the
spring. They DON'T like cool weather, & I lost them, after babying them all winter!
I'll know better, next year.