Yes, though it would likely be unpleasant, and you’d want to bring a good raincoat. But no, exposure to water won’t destroy your e-bike. Don’t submerge it in water, just for good measure, but otherwise, enjoy your rainy ride.
We’ll be holed up at the office with lukewarm coffee, staying dry. Go ahead and spend half an hour in a monsoon, and you might cause some damage. But getting home from work in normal to hard rain is perfectly fine.