Yes, I remember friends having that problem in undergrad in Canada. There was a way around it but it was an application process with an interview. I believe they were concerned with people trying to game the system to get lower tuition fees.
In some, especially Europpean, countries such thing exist, and it's called tax. Besides paying taxes, there's no additional fees for attending university.
In Europe, these are the countries I know of that either have no tuition, or only nominal fees up to €100/semester or so (for EU/EEA citizens): Austria, Denmark, Finland, Germany, Norway, Sweden. Denmark is the most generous, not only charging no tuition, but even paying students about €700/mo to attend university, in order to cover living expenses [1].