Yes, absolutely, but the package deming with the function deming() does not use least squares it uses maximum likelihood estimation to find the best fit of coefficients. Therefore, I am trying to find a package which uses least squares and with the option of getting the regression through the origin.