How can customize or overwrite the catalogsearch_result_index.xml template for add my own block?

how can customize or overwrite the catalogsearch_result_index.xml template for add my own block?

Create a layout with the same (catalogsearch_result_index.xml) file name in your extension, and then use the referenceBlock or referenceContainer predicate.

I created this file
app/code/Namespace/Module/view/frontend/layout/catalogsearch_result_index.xml   

with this content

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
	<body>
		<referenceBlock name="search.result">
			<block class="Magento\Framework\View\Element\Text" name="foo">
				<action method="setText">
					<argument name="text" xsi:type="string">
						<![CDATA[<p>This is my own message</p>]]>
					</argument>
				</action>
			</block>
		</referenceBlock>
	</body>
</page>
and I modified this file too
app/code/Namespace/Module/etc/module.xml
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
	<module name="Namespace_Module" setup_version="1.0.1">
		<sequence>
			<module name="Magento_CatalogSearch"/>
		</sequence>
	</module>
</config>

but it’s not OK

What did I do wrong?

What exact state of the system you have denoted by the term “not OK”?

when I search I see that does not display the message.

Is your extension loaded by the system?

yes

The search.result block uses the result.phtml template:

https://github.com/magento/magento2/blob/8fd3e8/app/code/Magento/CatalogSearch/view/frontend/layout/catalogsearch_result_index.xml#L12-L12

The result.phtml template does not render arbitrary children blocks:

https://github.com/magento/magento2/blob/8fd3e8/app/code/Magento/CatalogSearch/view/frontend/templates/result.phtml#L10-L24

https://github.com/magento/magento2/blob/8fd3e8/app/code/Magento/CatalogSearch/view/frontend/templates/result.phtml#L27-L37

But it calls the getAdditionalHtml() method:

https://github.com/magento/magento2/blob/8fd3e8/app/code/Magento/CatalogSearch/view/frontend/templates/result.phtml#L29-L29

https://github.com/magento/magento2/blob/8fd3e8/app/code/Magento/CatalogSearch/Block/Result.php#L105-L113

So if add your block as a child of the search_result_list block, then it will be rendered.
The core itself uses it, for example, to render a toolbar:

https://github.com/magento/magento2/blob/8fd3e8/app/code/Magento/CatalogSearch/view/frontend/layout/catalogsearch_result_index.xml#L20-L22