In probability theory many results such as the existence of the regular conditional distribution only exists for standard Borel spaces (which are Borel subsets of some polish space).
Continuous stochastic processes are elements of polish spaces
A continuous stochastic processes $X = (X_t)_{t\in E}$ in $F$ can be thought of as an element of $C(E, F)$. And for $E$ a $\sigma$-compact metrizable space and $F$ a polish space we can turn $C(E,F)$ into a polish space with the help of $$ d(f,g) = \sum_{n=0}^\infty 2^{-n} (d_n(f,g)\wedge 1) \qquad \text{with} \qquad d_n(f,g) := \sup_{x\in K_n} d_F(f(x), g(x)), $$ Where $(K_n)_{n\in \mathbb N_0}$ are a sequence of increasing compact sets such that $\bigcup K_n = E$. The proof should be analogous to the proof of $C(K_n, F)$ being polish via $d_n$, which can be found as Theorem 4.19 in "Classic Descriptive Set Theory" by Kechris, Alexander with an extension to $C(E, F)$ similar to the case of $C([0,\infty)$) see e.g. Klenke (2014, Theorem 21.30).
Okay, so continuous stochastic processes are random variables in a polish space. But what about non-continuous stochastic processes?
Random generalized functions
Non-continuous stochastic processes can generally not even be evaluated point-wise so they are defined as generalized functions (except for the cadlag construction in the case of $\mathbb R$). I.e. they are defined as a stochastic process $(X_{\phi})_{\phi \in \mathcal D}$ over the test functions $\mathcal D = C_c(\mathbb R^n)$.
This results in the question: Is $ \mathcal D'$ a polish or at least standard Borel space such that $X$ is a random variable in a polish space?
While $\mathcal D=C_c(\mathbb R^n)$ is a subset of the polish space $C(\mathbb R^n)$, polish spaces are not necessarily $\sigma$-compact. And in fact they appear to be never $\sigma$ -compact if they are infinte dimensional (comments in this answer). So while $\mathcal D'$ only contains continuous linear operators and is thereby a subspace of $C(\mathcal D, \mathbb R)$ this does not accomplish what we need.