Exos are given human urges called “humanisms”. Including hunger, thirst, and… romantic urges. It helps prevent or at least slow down the condition that makes their minds incompatible with the mechanical bod, which would trigger their memory reset.
So they can eat and would feel the urge to, to a degree. But They don’t have to to stay powered on.