Push estimated time left with gcode?

Hello!

Would it be possible to push remaining print time to a connected screen with marlin firmware? I know octoprint does this with a plugin. Would be nice in astroprint to (for us that do not have astroprint touch)