Two-stage Bayesian regression enforcing a fixed distribution (not Just Hierarchical regression)

I think you are on the right track, but probably it is possible to use the RandomVariable from aesara directly. Maybe @ricardoV94 could advice a bit more?