Since 2018, medical cannabis has been a legal option for insomnia in the UK...
https://finnfazr460.theburnward.com/if-i-keep-waking-at-3am-what-kind-of-insomnia-is-that
Since 2018, medical cannabis has been a legal option for insomnia in the UK when prescribed by a specialist. It is typically considered only after standard treatments haven't provided sufficient relief