Welcome!
If I understand correctly, you want to treat the measured x
as uncertain (e.g., subject to measurement error). If that’s correct, then you are talking about what is often referred to as an “error in variables” model. See here for an example of how to implement this.
For multiple linear regression, you can check out this notebook for several examples.