Yes they will, because they both self pollinate.
I grow some cherry tomatos indoors and they do just fine. I don't grow any others because tomato plants can get HUGE. So make sure you give them a lot of room to grow and remember to prune them.
Also, don't smoke tobacco around them because it will hurt the plants and could possibly kill them. I made the mistake of making an organic pesticide using loose tobacco mixed with water and it killed almost all of my Tomatos.