Here an integral of $\mathbb{R}$ trees means the set of functions from a measure space $\mathcal{F}$ to a measurable field of based $\mathbb{R}$-trees over $\mathcal{F}$, so that the squared distance from the basepoint is integrable, as described in Proposition 44 and Remark 45 of http://dx.doi.org/10.1090/S0894-0347-06-00525-Xhttps://dx.doi.org/10.1090/S0894-0347-06-00525-X .
For $k=4$, the answer to Question 2 appears to be affirmative. Petrunin gives an elegant characterization of which squared-distances between 4 points can be realized in a CAT(0) space: http://front.math.ucdavis.edu/1411.5329https://arxiv.org/abs/1411.5329 Let me sketch the argument.