Generally no. Inventory is an asset until sold, at which point its cost moves to cost of goods sold and reduces taxable income.
Some small businesses can elect simplified treatment, but the default rule is that stock sitting in a warehouse is not yet a deduction.
We handle this for founders running US companies.
Full guide
How to Calculate Cost of Goods Sold?