The impossibility also follows from Jordan's lemma:
Let $G$ actbe a finite group which acts transitively on a set $\Omega$ with $|\Omega|:=n\geq 2$ then. Then there exists a $g\in G$ such that $\chi(g)=0$ (herewhere $\chi(g)$$\chi$ denotes the permutation character (put in simple terms this means that $g$ fixes no element of $\Omega$ ).
Here $\chi(g)$ denotes the permutation character. InIn fact with some additional work one can show that the proportion of elements $g\in G$ such that $\chi(g)=0$ is larger than or equal to $\frac{1}{n}$. So now let us see how Jordan's lemma implies that the answer to the OP's question is negative. So let $H$ be the group generated by the$\{g_i\}$, a complete set of representatives of each of the conjugacy classclasses of $G$ and assume. Suppose that $H$ is a proper subgroup of $G$. Then we may look at the left action of $G$ on $G/H$. Since $|G/H|\geq 2$ and the action is transitive, it follows from Jordan's lemma that there exists a $x\in G$ such that $x g_i H\neq g_i H$ for each left cosetall $g_i H$$i$, $x g_i H\neq g_i H$. In other words, for each $g_i$ one has that $g_i^{-1}x g_i\notin H$ which in turn implies that for all $g\in G$ one has that $g^{-1}xg\notin H$. Therefore; and therefore the conjugacy class of $x$ does not intersect $H$ which is absurd.
Note also that one gets the following corollary from the previous argument:
Let $H$ be a proper subgroup of $G$ then we may always find two distinct (linear) characters of $G$ that have the same restriction onto $H$.
Indeed, by the previous argument there exists a conjugacy class $C$ of $G$ that does not intersect $H$. Let $D=G-C$ and define $f$ to be the class function which is equal to $0$ on $D$ and $1$ on $C$ and let $g$ be the class function which is equal to $1$ everywhere.
Since $f$ and $g$ are (in a unique way) linear combinations of irreducible characters of $G$ and $f|H=g|H$ there must exist distinct irreducible characters $\chi$$\psi_1$ and $\psi$$\psi_2$ of $G$ which have the same restriction to $H$.