I had asked a similar question here: Custom distance metric with gaussian process
Apparently it should work, but you have to write the model in Stan.
I had asked a similar question here: Custom distance metric with gaussian process
Apparently it should work, but you have to write the model in Stan.