There is no limit for doing it. However, if you do too many 301 redirects, it will reduce the speed of your server.