Is it possible to rename virtual server name and pool name using tmsh command?
There is not. I think the best option you have is to CAREFULLY edit the bigip.conf manually. Make sure to save a copy first, then open in your favorite editor (vi, pico, etc.), make the changes, save, and then reload the config:
tmsh load sys config