This is why I originally meant to ask with Are there Lebesgue-measurable functions non-continuous almost everywhere?
Does there exist a function $f\colon [0,1]\to\mathbb{R}$ such that:
- $f$ is Lebesgue measurable; and
- For every continuous $g\colon [0,1]\to\mathbb{R}$, the set of points where $f(x)\neq g(x)$ has positive measure?