I freelanced before. Mainland company though. The contract was straightforward and had no issues. I was just treated as working within the mainland. it may depend on HK laws on this matter.
I don't think your job has anything to do with your study in Canada (practically speaking) if all payroll and tax are simply handled within hk. And Canada tracks hours only through SIN. But wait for a pro. This is kinda the grey zone.