Having a "measured" vector $\mathbf{y}$ with its statistics (counts or variance per element), one can use weighted least squares approach to solve the linear system $$\mathbf{A}\mathbf{x} = \mathbf{y}$$ by minimizing $$(\mathbf{y} - \mathbf{A}\mathbf{x})^T{\rm diag}(\mathbf{c})(\mathbf{y} - \mathbf{A}\mathbf{x}),$$ where $\mathbf{c}$ contains either counts or inverse variances.
When this linear problem is ill-posed but the model is sparse I can use the Basis Pursuit Denoising approach looking for a sparse solution:
$$ \mathbf{x}^{\ast} = \arg \min_{\mathbf{x}} \left\{ \frac{1}{2} {\left\| \mathbf{A} \mathbf{x} - \mathbf{y} \right\|}_{2}^{2} + \lambda {\left\| \mathbf{x} \right\|}_{1} \right\} $$
Logically i am tempted to just modify the $\mathbf{A}$ term to $\mathbf{A}^T {\rm diag}(\mathbf{c}) \mathbf{A}$ to include the weights for each element, but I am not sure this is a sound approach for the $L_1$ case. Is this approach valid or is there a different way to include the measurement statistic for such regularization?