Yes, you can save your messages. Before uninstalling Viber, go to Applications > My Files or the available File Manager installed on your phone and move the Viber folder to another one. After this procedure, you can go ahead and deactivate your account and delete the application. The next time you'll install Viber, move the folder on the Internal storage in the root directory.