Absolutely. Mount Vesuvius may be an active volcano, but volcanos don't just spew lava out of the blue. Vesuvius is under constant observation, and you can be sure that if it's close to eruption, you won't be allowed anywhere near it. As for the hike, it's extremely safe too. The path is wide, and there are high parapets, so I don't see any chance for unfortunate incidents.