How to create sum-log-likelihood of custom distribution for use in Turing.jl

I think what you need is to define a multivariate distribution and then a custom logpdf for the whole vector.

This might be relevant: