Not as you put it, but close.
The German term for the constitutional order is freiheitlich-demokratische Grundordnung (short FDGO, translated free and democratic basic order). There are questions and debates on just when a person has to endorse it and when it is enough not to oppose it. And also if any specific parts should be enumerated when one endorses it. For instance, civil servants are held to a higher standard of support to the FDGO than ordinary citizens.
People seeking naturalization as German citizens must declare their acceptance of the German constitution. The words which are traditionally used do not enumerate any specific parts of the FDGO, but the Staatsangehörigkeitsgesetz enumerates antisemitic as well as xenophobic crimes to preclude naturalization in certain cases.
When groups are seeking public funding, especially in the context of youth programs, there was consideration if those groups they should formally accept the constitutional order and distance themselves from extremism. The term for that is Extremismusklausel. That debate is ongoing, and Israel is just a small part of that.
There is a reasonably widespread consensus that the FDGO implies the German support for the right of Israel to exist (Die Sicherheit Israels ist deutsche Staatsräson, the security of Israel is the German national interest). It does not preclude calls for a ceasefire, for the two-state solution, or denouncing the far-right Israeli government.