A difficult choice: Pilgrimage while fasting

Can a fasting body sustain the physical demands of a pilgrimage, and for how long?