Answer by
LeheckaG (1826)
Yes,
both Italy and Switzerland have interconnecting-passenger-rail/train-systems.
Depending on your-itinerary (dates of travel & routes),
you might consider purchasing either Passes or Tickets
(there are a variety to choose from).
Try to time your-itinerary to be where you want to be when,
AND see the scenery along the way.