I hoist my boats to the ceiling using four Tuf-Tug block and tackles (one at each corner of the boat straight section), and then ratchet strap for added safety and security. The block and tackles have a locking system that, while not perfect, do a pretty good job.
I anchor the block and tackles and the ratchet straps to the ceiling joists using slotted angle, the kind used to hang garage doors. Each piece of slotted angle is bolted multiple joists to distribute the load.
Tuf-Tug block and tackle: https://www.zoro.com/tuf-tug-block-a...00/i/G2738775/