Freelancing on a dependent visa

Hi can I do a freelancing work for a Malaysian company being on a dependent Visa in Malaysia. Fees will be paid to my origin country business account and I will pay taxes there.

No,  illegal and if caught you will be deported.