Mothballs are not recommended as a rabbit repellent. Mothballs contain toxic chemicals that can be harmful to both animals and humans. Additionally, mothballs have a strong odor that may not be effective in deterring rabbits from your garden. It's best to use safer and more effective methods for repelling rabbits.