Yes, it is possible to conclude an agreement at a sworn notary’s for a certain period on the repayment of debt. The Notariate Law has a section on notarial deeds that are executed through the court. The notary has the right to draw up an agreement on the repayment of debt in the form of a notarial deed. If your friend does not pay the debt within the period specified in the agreement, you can go to the same notary and receive a notarial deed of enforcement, and then hand over this deed to a sworn bailiff for forced execution. There is no need to go to court to make a decision or obtain a writ of execution.