BERLIN—If Greece implements all the economic measures agreed to with its creditors, the country could end up with a more-flexible economy than Germany.

Many of the overhauls on Athens’ to-do list are inspired by the labor market, welfare and budget measures that Germany enacted in 2003 and 2004, when it was struggling with high unemployment and slow growth.

Others—such...