Yes, in Germany you can work up to 10 hours per week in parallel to your training. This must be approved by your training company and you should also ask your training company first if you can work there additionally. Many trainees depend on this additional income.