If you are shore diving at any of the established shore dive ops (Eden Rock, Sunset House, Macabuca, etc.) you will not be allowed to enter the water alone. However, it is easy enough to pick up a buddy pair during the daytime.
If you are shore diving at any of the unsupervised locations then...