Question related routing system traffic through tor and Metasploit

If I use Metasploit (or some other vulnerability scanner) and find a server with a vulnerability that allows remote connections, I need to set LHOST. If I use my IP address, will my location be exposed? Is there a way to hide it? If routing my system traffic through Tor will hide my real IP?