Using your asinine sustitute for reasoning, it would be 'constitutional' for Congress to reinstitute human slavery, if it was done as part of regulating an election.
"Flush out your headgear, New Guy!"
Freedom of speech is not absolute and is restricted in many appropriate situations.
Did I say it was absolute? Hmm? If "the freedom of speech, or of the press" are to be abridged, however, they may not be abridged by "Congress."
How is this restriction any different than those preventing electioneering within 100 yards of the polling places? They are violations of an absolute freedom of speech as well.
Oh, that's a wonderful argument: 'one unconstitutional law justifies another.' How nice...
;>)