With the first example, I would make it two questions: "What about Tom? Can we invite him?"
With the second example, I would use an ellipsis because it sounds as if the speaker says something and then quickly realises their mistake and corrects it: "Why are you eating the pastry ... I mean the pasta?"
Interested in Language