Yes, however strong earthquakes are very uncommon so you will not be faced with strong danger. Minor earthquakes however happen frequently and you could even experience one. Nothing to worry about, as Japan has gotten very good at anticipating and preparing for earthquakes, with anti-earthquake-designed buildings and strong security measures in case anything happens.