Since 2018, medical cannabis has been a legal option in the UK when prescribed...
https://highstylife.com/can-medical-cannabis-help-with-racing-thoughts-at-bedtime/
Since 2018, medical cannabis has been a legal option in the UK when prescribed by a specialist consultant. Typically, it is considered only after conventional insomnia treatments have been exhausted or proven ineffective