Are you talking about a tree like the one they have in Disney World? I think in Epcot? That one is in a glass house protected from elements and I’m sure is pretty regularly fumigated against pests and diseases to sustain abnormally long life.
Or are you thinking about a tomato relative that grows like a tree?
Or are you thinking of growing tomatoes supported by a stake?
Some dwarf varieties are considered “tree” type rather than vine because they are sticky and have a thick central trunk that doesn’t need much support.
Note that you need to consider what variety you want to grow.