Yes, site crawlers are legal. However, what a business does with information from crawlers may or may not be legal. For example, in Argentina, users have a right to be forgotten, and it is illegal for search engines to show web pages that an individual has asked to be taken down.