Having a popular vote plurality election to allocate all of a state's electoral votes is a perfectly legal way of doing things should a state choose to do so. It's also 100% against the way the founding fathers intended this rule. Remember that. We're already exploiting a loophole to make things democratic. This just takes it one step further.
I wouldn't argue that the founders intended to be anti-democratic in the selection of the electors. Except for the 1789 election where the process of choosing the Federal government was still being established, and 1800 where several state legislatures chose to not trust their voters and paid the price as a result, there have been a majority of electors elected by the voters.
What the founders had no conception of was of party politics. That has had a greater effect upon the Presidential election process than the gradual adoption of universal suffrage.
Arguably 42 of 69 electors appointed in 1789 were popularly elected to some extent. In Massachusetts the voters nominated 2 electors from each of 8 districts which the legislature chose between, and in New Hampshire, electors needed a majority. Since none received a majority, the legislature chose the electors.
I don't think popular election of electors is the same as de-facto popular election of a presidential ticket via a mode of counting that makes use of electors.