Yes, provided you comply with the maximum weekly/monthly working hours.
The maximum weekly working hours without a collective bargaining agreement (CBA) are 46.25 hours.
If your occupation is covered by a generally binding collective bargaining agreement (CBA), then the maximum working hours specified in that CBA apply.