Let $X$ be a smooth connected quasiprojective variety over $\mathbb{C}$ and let $G$ be a complex reductive group. Let $$\iota: G\to GL_N$$ be a representation and let $$\rho: \pi_1(X(\mathbb{C}))\to G(\mathbb{C})$$ be a homomorphism. I am looking for a reference for the following fact:
$\rho$ is deformation-equivalent to a homomorphism $$\rho': \pi_1(X(\mathbb{C}))\to G(\mathbb{C})$$ such that the local system on $X$ associated to $\iota\circ \rho'$ underlies a polarizable complex variation of Hodge structure.
If $X$ is projective, this is due to Simpson [1, Theorem 3]; in the quasiprojective case some special cases have been written down by T. Mochizuki, e.g. if $G=GL_N$ [2, Theorem 10.5] or if $\rho$ is rigid with Zariski-dense image [2, Lemma 10.13].
I think this can probably be extracted with some difficulty from existing literature, but I'm hoping the statement has been written down explicitly somewhere.
EDIT: If it helps, I'm primarily interested in the case $G=PGL_n$.
[1] Simpson, Carlos T., Higgs bundles and local systems, Publ. Math., Inst. Hautes Étud. Sci. 75, 5-95 (1992). ZBL0814.32003.
[2] Mochizuki, Takuro, Kobayashi-Hitchin correspondence for tame harmonic bundles and an application, Astérisque 309. Paris: Société Mathématique de France (ISBN 978-2-85629-226-6/pbk). viii, 117 p. (2006). ZBL1119.14001.