Yes, in Germany students can get 18.
months permit to stay after completing the course to search for a job. If you found a job in 18 months then you can stay longer as your job goes on.