Yes, if Earth were to be destroyed, other planets and the rest of the universe would still exist. Earth is just one of countless celestial bodies in the vast universe. The destruction of Earth would not affect the existence of other planets, stars, galaxies, or the overall structure of the universe.
The universe is incredibly vast and consists of billions of galaxies, each containing billions or even trillions of stars. There are likely countless other planets spread throughout the universe, some of which may have conditions suitable for life. The destruction of Earth would be a local event in the grand scale of the cosmos, and it would not impact the existence of other planets or celestial objects.
It's important to note that our understanding of the universe is based on our current scientific knowledge, and there may be aspects of the cosmos that we have yet to discover or understand fully. However, the destruction of Earth would not imply the destruction of the entire universe or other planets beyond our own.