Of course it is. It always has been.
But the founders were wise enough to know that direct election of presidents in any manner could lead to the election of tyrants.
Also since each state has 2 Senators and the senators were supposed to represent the interests of the individual states, the state legislatures were originally assigned the duty of electing senators.
By making the election of senators a democratic process rather than a process of election by representatives, the Senators now represent only those people who they can con or bribe into voting for them and this has dramatically increased the power of the Federal Government. The Senate is now a national office rather than a state office. Previously Senate seats were reserved for "statesmen" who would be selected to represent the state as a whole. These seats are now occupied by crooks who represent those who give them the most campaign contributions.
“The Senate is now a national office rather than a state office”
I understand people’s trust in elected representatives over the masses, but this point has always bugged the crap out of me. To call it a state office is ridiculous. Senators exercise their authority with the best interest of their state at heart (hopefully), but it is the U.S. Constitution which imbues them with authority, and as such they are a part of the federal government (the Constitution being the document that gives power to the federal government).