It's a medication that gets stolen by drug users which is a bit frustrating if it's not working for them.
BNF and Department of Health (England) don't describe addiction to loperamide, but do describe its use as an adjunctive treatment for people trying to come off opioids, which suggests it's not that problematic: https://bnf.nice.org.uk/treatment-summary/substance-dependen...
https://assets.publishing.service.gov.uk/government/uploads/...
> Prescribing symptomatically can reduce some of the physical effects of withdrawal. There is no systematic evidence that any of these medicines work to improve outcome but they may be useful for the clinician in situations where it is not possible to prescribe effective opioid substitution. Particular care is needed concerning the risks of polypharmacy and ensuring appropriate supervision and support in such cases.
> •Diarrhoea – loperamide 4mg immediately followed by 2mg after each loose stool for up to five days; usual dose 6-8mg daily, maximum 16mg daily.