Cannabis can be very helpful for insomnia, but like with other conditions there may be some trial and error to find the right formula. And of course with edibles, testing and find the right dosage is critical. For starters I would suggest skimming through the Insomnia Community page at HelloMD – https://www.hellomd.dev/topics/insomnia.
I also noticed that this online retailer has offered various solutions for insomnina as well: https://www.hellomd.dev/biz/green-door-west-delivery
Good luck with it.
Larry