Am I allowed to work as a student?
Yes, you are allowed to work in Latvia during studies but be aware that there are some restrictions depending on your study level:
a full-time bachelor's student at a Latvian university has the right to work for up to 20 hours per week (part-time) or 40 hours per week (full-time) during holidays with any employer.
a full-time master's or doctoral student at a Latvian university has the right to work with no restrictions.
More on immigration law here.