JointDistribution for keras ANN training

Is it possible to set up a joint probability distribution with learnable parameters using with keras? Does anybody can show me how to define the output layers?