While it’s recommended to always have some sort of anchor on your vessel, in most places it’s not required by law. If you are unsure, contact your local environmental department.