If you are talking about the application fee, that is when you file application, then yes you can pay in US dollars, if your medicals are requested and you suppose to pay RPR Fee (Right of Permanent Residence Fee) then you can only pay with Canadian Dollars, US dollars are not accepted for some reason, no matter you are inside or outside Canada applicant.