I try this all the time during sieges, but I have yet to have the enemy accept any of my demands for surrender. Has anybody ever been able to pull it off?

I'm also wondering what exactly happens if the enemy does surrender. I would guess that you gain the city with no loss and no damage to the buildings, which would save you some money rebuilding them.