Yes. Or just have the negotiations with Chile stick. Might need to change the Chilean Civil War for that one.
Its likely you'd get a war later on, as the various states of Latin America were really scared of Peru-Bolivia, but the longer you delay, the stronger and more unified Peru-Bolivia gets.