Why you say it sounds risky?
Probably because it's a medicine that affects your heart and brain.
Though not fully tested in court, the Medicines Control Agency has stated that poppers is regarded by them as a medicine and so falls under the Medicines Act 1968. This allows only licensed outlets, such as chemists, to sell the drug.