Not unless I've misunderstood how it's connected. Here's how I would do it - just flip AIN1 to an output and set it to zero. It will absorb both the charge current through the resistor and the existing charge on the capacitor, pulling it down to 0V.
Edit: you should probably put a small resistor between the series RC circuit and AIN1, to limit the discharge current. A ceramic or film capacitor can deliver quite large peak currents for a brief moment if you directly short it.