Yes, with electoral college that strategy is acceptable… buuuuuut…
DON’T sleep for a second on the downballot races, for House Rep., Senator, Governor, state positions, ballot measures (including on a woman’s right to an abortion), and everything else applicable to you on Election Day. DON’T stay home even if you don’t like your choice of President/VP or that your state won’t affect who will reside in the Oval Office.
Any of these other races can be close. Each has a piece of a government that has big effects on many of the issues you care about.