As long as they aren’t expected to volunteer themselves.

German cabinet backs voluntary military service, opening door to conscription – Compulsory military service in Germany was ended in 2011 under then-Chancellor Angela Merkel.
Chancellor Friedrich Merz has made boosting Germany’s military a priority given the threat from Russia and said “we are now back on the path to a military service army”.
He summed up his thinking earlier this year saying: “We want to be able to defend ourselves so that we don’t have to defend ourselves.”