Yes, 2 days in Lima is enough time to see some of the top sights, and eat at amazing restaurants. Don't miss doing a walking tour, drinking Pisco Sours, and strolling along the Malecon. With 2 days in Lima, you won't be able to do a day trip, but you'll be able to get a good feel for the city.