How do I specify a constraint over the distribution of target/response variable?

Not sure if this is what you are after, but maybe this is useful? Example notebook for truncated regression