Since 2018, UK specialists can prescribe medical cannabis for insomnia, usually...
https://www.bookmarks4all.win/since-2018-medical-cannabis-has-been-a-legal-treatment-option-in-the-uk-when-2
Since 2018, UK specialists can prescribe medical cannabis for insomnia, usually after other treatments fail. It’s not a first-line option, and individual responses vary widely