I did that as a lark two years ago when I did my first summit of Whitney. Fortunately, didn't keep me from successfully summitting, but it was probably a bad choice.
But I was young and foolish back then.
Here's the right way: 7 years ago, now, Bob R organized an 80th anniversary of Norman Clyde's Highest-to-Lowest in a day. We camped on the summit, then hiked down and drove to Death Valley to watch the sunset from Badwater. Fun times!