Yes, it is generally safe to swim in the ocean in Japan, especially in designated swimming areas at the beach resorts. However, like with any beach, it's important to pay attention to safety guidelines and weather forecasts. Beware of strong currents, high waves, and certain marine life like jellyfish.