Sure. The question is more like, should you be willing to pay $1 million to play? And honestly, if you can't afford to burn $1 million, that would be a pretty bad idea.
However! Suppose you were allowed to modify things ever so slightly. Suppose you get to say, "Sure, I'll pay $1 million to play. But instead of playing once and taking my winnings, I want to play a million times, and only take one millionth of whatever I win each time." You haven't done anything to change the average payout of the game. But you've made it a much better idea to play, by reducing the variance.
That's what it means to say the game has infinite expected value. You really should be willing to pay anything to play it, as long as you're allowed to repeat the game over and over.
Of course, if you're stuck with playing the game just once, then lots of games look like a bad idea despite having a positive expected value. The St. Petersburg game is hardly alone here. For example, suppose you have a 1-in-a-million chance of winning $10 billion, but it costs $1000 to play. Should you play? The expected value is good, but I don't think most people would touch it. Not much of a paradox there.