I see what you’re saying. I’m not sure that congressional districts are the answer though. There are issues of gerrymandering and judicial interference.
We could wind up with electors awarded based upon demographics.
A problem with awarding electors by congressional district is that it is brittle. Whatever faction gained an early advantage likely would, through gerrymandering, eventually become the only governing faction... until violently overthrown. The purpose of congressional districts is to apportion the People’s representation in the House of Representatives, not to apportion electors.
We're already coping with the gerrymandering problem.
Even so, 15 of California's 53 reps are Republican. Under a system awarding electoral votes by CD, Trump would probably have received 15 of California's 55 electoral votes.