Take any subset $X$ of $\,\mathbb{R}$.
Define a constant function $f$ for some $c \in \mathbb{R}$ $f\colon X \to \mathbb{R}\quad \forall x \in X\ f(x) = c.$
$f$ is continuous, thus preimage of any closed set in $\mathbb{R}$ is closed. Take $f^{-1}(\{c\}) = X$
Since $\{c\}$ was closed in $\mathbb{R}$ $X$ is closed in $\mathbb{R}$ too, but every closed set in $\mathbb{R}$ is Lebesgue measurable thus $X$ is measurable.
No. One example of a non-measurable set is a so called Vitali set. The construction is complicated, and I think that it is fair to direct you to the wikipedia page, for example.
The reason that your reasoning doesn't work is quite simple: Consider the open unit interval $(0,1)$, and take $f:(0,1) \rightarrow \mathbb{R}, x \mapsto 0$.
This clearly does not give us that $(0,1)$ is closed in $\mathbb{R}$, because it isn't. It tells us that $(0,1)$ is closed in $(0,1)$.