In Rome you'll spend a lot of time in line--hours, not minutes--and may very well not get in at all if you don't buy tickets to the Colosseum and Vatican Museums in advance. The Borghese Gallery requires advance purchase. If you don't care about seeing those places, that's fine. The Colosseum is very impressive from the outside, and that's free. Rome is great city for wandering around, and many churches are free.
The Capella Sansevero in Naples sells out in advance. I know the Duomo in Milan sells tickets online for the roof; I don't know whether there's a risk of a sell-out there.
I would be very, very concerned the hostels in relatively convenient locations will be full if you don't reserve a bed. The balance between supply and demand seems more reasonable in Naples, so there's probably less rate risk there.
Tickets for the fast trains (Frecciarossa, etc.) will be considerably higher if purchased at the last minute than if you grab them soon after they go on sale. To see that in action, price out a Roma-Firenze ticket for today or tomorrow and then check the price of the same train/same day of the week for the latest date now on sale (which might be in early June--I haven't checked). Train sellouts are very unusual in Italy, so that couldn't concern me.
https://www.trenitalia.com/en.html << goes everywhere
https://www.italotreno.it/en << won't get you to Cinque Terre
Trenitalia requires that you use the Italian city/station names: Napoli, Roma, Firenze, Milano.