You can directly register a website with a search engine.
Once registered, it might take a few days or even weeks for the search engine's crawler to visit the site and determine whether to add it to the index.
Often, a website is included in a search engine's index when other indexed sites link to it. In such cases, since the crawler will eventually visit and index the website, registering with the search engine may not be necessary.