Magento 2 Decrease the quantity in stock when the order is placed with Manage stock in OFF

Does anyone know how to decrease the quantity in stock of a product if the inventory management function is disabled?

From the standard point of view, this does not seem possible, so I hope it can be coded

Thank you