Since 2018, specialist-prescribed medical cannabis has been a legal treatment...
https://soulinner.com/can-medical-cannabis-actually-help-uk-insomnia-sufferers/
Since 2018, specialist-prescribed medical cannabis has been a legal treatment option in the UK. Typically considered only after standard, evidence-based therapies have proven ineffective, it is not a "first-line" solution or a guaranteed cure