Yes. Think of it like this, and object, orbiting an object, orbiting an object, orbiting an object. If Earth can orbit the sun with the moon still orbiting the Earth, then what keeps a moon from...
It is possible but unlikely due to gravitational perturbations with the host planet which would pull the secondary moon out of it's orbit around the primary moon.