Sure. Norway, another oil producer, has done this.
We don't even have to go to a foreign country. Quebec and B.C. are doing this. All it is saying to automakers is that a certain percentage of their sales have to be electric vehicles. That percentage goes up over time until we hit the target of 100%, which your government has set, by 2040.