Zend certified PHP/Magento developer

Magento 2.3.3 MSI: Is there a way to remove products from search results or catalog pages when their salable_qty goes to <= 0?

This is the scenario:

qty = 2
reservation exists for the product with quantity -2
salable_qty = 0

The product still shows in search results and in category pages, but you can’t add it to the cart. This is a poor customer experience as the user will have to click into the product to see that the product is out of stock or click add to cart to see the notification.