Since 2018, medical cannabis has been a legal option in the UK when prescribed...
https://www.bookmarkpage.win/since-2018-medical-cannabis-has-been-a-legal-treatment-option-for-insomnia-in
Since 2018, medical cannabis has been a legal option in the UK when prescribed by a specialist. It is typically considered only after standard NHS treatments for insomnia have proved ineffective