If you are using a customized version of the Twenty Eleven or Twebty Ten default WordPress themes, the answer is yes. They could be overwritten. However, no other themes should be affected when updating WordPress.
To prevent any loss or damage to the files on your site, regular backups is the only safe choice. WordPress Backups