No, Mold Earth cannot excavate hard stone in D&D 5e. If you cannot shovel your way through a ground of stone, you cannot use Mold Earth on it either. According to Jeremy Crawford, one of D&D 5e’s game architects, you should think of “dirt, not stone.” His words are the words of God in terms of D&D, so you can rely on that information.