Since 2018, medical cannabis has been a legal option in the UK when prescribed...
https://soulinner.com/can-medical-cannabis-actually-help-uk-insomnia-sufferers/
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