Is this possible, or has it been done already? I think it could work really well as a mod if somebody knows how to script it properly.
Simply put, your units gradually suffer unless you put them inside an enemy building, raiding it. In the real life 18th century, taking towns and settlements to capture enough supplies was vital.