In the Item field, any number entered with spaces should display the related IDs. Is this possible i

In the Item field, any number entered with spaces should display the related IDs. Is this possible in ERPNext?

The way the default query works is by a “%*%” like filter. Not like the whoosh search in the awesome bar. You can modify the query via set_query with a custom query to fetch the values as you desire. See the last example in this link for more info. Overriding Link Query
Or if you need to update it throughout the site, there should be a hook for that.