No, robots.txt cannot be used for redirection. For directing bots to different versions of your site (for example, desktop and mobile versions), use other methods like rel=”alternate” tags or HTTP headers.