no the Theme doesn’t create or control URLs.
If you’re using an SEO plugin they may provide an option to block indexing of search results. If not you can:
1. Create a new Hook Element.
2. Add this: <meta name="robots" content="noindex,follow"/>
3. Select the WP_Head hook.
4. Set the Display Rules to Search Results