Yes, you can work while studying. For a full time student, employment must not interfere with the requirement to dedicate at least 4 days a week (over a 7-day calendar week) (pro-rata part-time students, 2 days), during normal business hours on each of those days, to the pursuit of their study program.
Any student wishing to undertake employment during their candidature should speak with their main supervisor. The full guidelines on taking on employment while studying can be found here.