It is absolutely possible. There can even be advantages to traveling to Bali during the rainy season: fewer tourists and cheaper prices. Incidentally, the rainy season doesn't actually mean that it rains every day and always. There are quite a few hours of sunshine in between.