Yes, it can. And this is an important point to make.
Even though you used the rel tag, two distinct pages still exist. Since both are linked to from somewhere on the Internet, visitors will be visiting two different pages.
This means your Analytics data is splitting the data between pages. It doesn’t realize that they are the same page. It can’t read the canonical tag. This likely explains the discrepancy you described.