Yes of course. A vegetarian can survive very easily. If you are put up in Male, you will find plenty of Indian restaurants that serve vegetarian food. And also, there are always vegetarian options on the menu. If you come across any problems, just let the chef know and they will be more than happy to do what they can to accommodate you. On an additional note, you can always email your chosen island in advance and share with them your dietary requirements.