Flag covered coffins are a powerful image which help to galvanize the people and maintain public support for a campaign.
It's hard to imagine that people will care much if all they see is a pile of scrap metal being shipped home.
It'll be extremely difficult for a government to use robotic infantry whilst having public support for such an action.
Rather than appealing to a sense of "brotherhood/camaraderie against a common foe" in order to support a campaign - propogandists will likely have to exploit the peoples sense of fear to garner support. This is a shift we have already started to see with the "war on terror".