Why not? Italy joined the Triple alliance to check France.
Italy will fight Austria for the Italian lands or France for the Mediterranean. She cares only who will win.
Have Germany and Austria do better in the first months of the war and Italy could easily join
Same with Romania