Yes, you can decide if you want to work during the summer or winter season, and if you need to leave after because you have plans back in Germany (for example, you’re going to University), you can do so easily.
The minimum stay for each season will always be at least six months, so make sure you apply early for your working holiday, that way you don’t have to wait for your work permit to travel and can secure your job far in advance.