Is there a multidimensional integrate-function?

Keep in mind Stan is an integration library. Depends on your case you may resort to parameterize the model in another way. See e.g. High dimensional interpolation of a high dimensional integral

3 Likes