In the event that you are in shabbat and there is no kosher wine available - Can you use non kosher wine and make the hagafen bracha on this?
Well if you are dying of thirst and the only liquid available is not kosher, I guess you could drink it.
But otherwise -- there are other ways to fulfill your mitzva of kiddush. If you had no food around whatsoever, you'd still get the Biblical mitzva by saying the prayers (and thus "remembering the Sabbath day"). Otherwise: well if you can get to a grocery store, buy some grapes and squeeze them yourself all before sunset on Friday, voila! -- kosher grape juice. (Those who lived in isolated places for longer periods of time often made their own raisin wine.)
If that doesn't work, Kiddush Friday night can also be recited on bread; and Kiddush Shabbat morning can also be recited on coffee, tea, beer, orange juice, and the like -- all of which pose far less of a kosher concern.
So I don't really see a scenario whereby kiddush would allow for consumption of non-kosher.
Sources on the Kiddush material. Kitzur Shulchan Aruch 77:3 and 77:13:
ואם אין לו יין, מקדש על הפת ולא על שאר משקין.
גם ביום בסעודת שחרית צריך לקדש על הכום... ואם חביב לו ייך שרף ומקדש עליו, גם כן יוצא,
[On Friday night], if one has no wine, he says Kiddush on bread -- not a non-wine beverage. ...
On Shabbat morning one must make Kiddush on a cup ... if one prefers liquor [to wine] and recites Kiddush on it, this also fulfills the obligation.