Well, yes and no. It would be a trivial matter to design a robot that "experiences hunger". It could be accomplished along the following lines:
a balloon like stomach with strain guages that are periodically sampled by a chip, and a set of valves and peristaltic pumps which gently massage the contents of the balloon into the next conduit. You could also add various sensitive transducers in the lining of the balloon which measure such things as fat content (impedance), sugar content (there is an electrode for such), etc.
Now the sex issue is a bit tougher to tackle. Still one could come up with code that approximates libidinal urges say on a scale of 0 to 100:
16 year old male, always at 110 may hit peaks of 200.
married couple with <=2 years of marriage=65
married couple 2 to 5 years=35
married couple 5-10=20
married couple 10+=10.
Now the latter are with respect to their partners.