I'm sure that your proposal would have no adverse outcomes, though.
People should fix society instead of treating symptoms.
This is just a result of the ruleset and can happen with any recommendation. You have to add an exception for certain keywords until there is outrage about another combination again. Because taste, sensibility or any thought is part of the recommendation process.
Also they should not have access to information of what people are buying in the first place because you end up with such surprise visits. That you see terror everywhere is a known occupational hazard.
Searching for sodium nitrite and selecting a seller of >98% on Amazon (US) did give a suicide-instruction book as a suggestion when I searched initially (logged out, private tab), but after looking up the SDSs and coming back to this, I no longer get anything of the sort.
I doubt that legitimate chemical suppliers like Fisher/VWR/Sigma-Aldrich/etc would sell sodium nitrite to a buyer without an approved account (though VWR if I recall correctly won't sell chemicals at all to residential addresses, even sodium chloride, so it's not necessarily the best comparison).
[1]: https://www.alfa.com/en/msds/?language=EE&subformat=CLP1&sku...
[2]: https://www.fishersci.com/store/msds?partNumber=AAA186680B&p...
That's two birds with one stone. Amazon preserves a long-term customer AND gets to keep the extra $20 for their Q3 results!