Since becoming legal in the UK in 2018, medical cannabis remains an option...
https://foxtrot-wiki.win/index.php/Medical_Cannabis_for_Sleep:_What_If_I_Have_Tried_CBT-I_and_Still_Wake_Up%3F
Since becoming legal in the UK in 2018, medical cannabis remains an option strictly under specialist oversight and only after other treatments have been exhausted. It is not a first-line choice for sleep disorders