Almost all rocks will undergo change at one point. So the answer is yes. metamorphic rock can undergo melting, becoming magma, when surfacing and cooling will become igneous rocks. Metamorphic rock...
Sandstone is a sedimentary rock. It is classified this way because of the way it was created. It was created when sand was compressed and eventually became rock.