This is unlikely to be viable. To obtain a work permit, you would need to be offered a job by a Canadian company with a supporting LMIA. If the US company is intending to pay you direct from the USA, you would still not be permitted to interact in any way with Canadian clients or the Canadian labour market without a work permit.