Suppose that $X$ is a random element with values in $L^2([0,1],\mathbb C)$ such that $\operatorname E\|X\|<\infty$. The expected value of $X$ is equal to $\mu(t)=\operatorname EX(t)$ for almost all $t\in[0,1]$. So we have a random element, but we actually want to have a random process, i.e. a collection of random variables, to evaluate the mean. How can we define the random process $\{X(t):t\in[0,1]\}$?
Strictly speaking, the space $L^2([0,1],\mathbb C)$ consists of equivalence classes of almost everywhere equal square integrable complex functions. So it does not make sense to consider the value of $f\in L^2([0,1],\mathbb C)$ at some point $t\in[0,1]$ since this value is not defined.
However, if we want to define the random variable $X(t)$ for some $t\in[0,1]$ and evaluate its expected value $\operatorname EX(t)$, we need to assign a complex number $X(t,\omega)$ for each $\omega\in\Omega$ (and make sure that this map is measurable).
So it seems that it is not even possible to define the random process $\{X(t):t\in[0,1]\}$ because we do not have information about the values of this function at point $t\in[0,1]$. However, I have seen a few times when the expected value of a random element with values in $L^2([0,1],\mathbb C)$ is evaluated pointwise, i.e. $\operatorname EX(t)$ for $t\in[0,1]$, so maybe it is possible to define the random process $\{X(t):t\in[0,1]\}$ in a sensible way.
Any help is much appreciated!
I would like to make some comments, mostly keeping in mind the functional data analysis framework (even though I'm not a specialist in FDA I found the question interesting and looked into some references).
$$X_\bullet:\mathcal{T}\to L^0(\Omega,\mathbb{P};\mathbb{C}), \phi\mapsto[\omega\mapsto \langle\phi\,,\, X^\omega\rangle_\mathcal{H}].$$
(Note that here I used two different notations for the same space of curves; it's fun to think of a $\tau$-a.e. defined path in $\mathbb{C}$ as a time parameter of a process. Here $\mathbb{P}$ is the suppressed probability measure on the suppressed measurable space $\Omega$.)
(See e.g. Kupresanin, Shin, King and Eubank's paper "An RKHS framework for functional data analysis", p.3628, or (if I'm right that there is a typo) Hsing and Eubank's book Theoretical Foundations of Functional Data Analysis, with an Introduction to Linear Operators, p.185.)
My first reaction to the question was along the lines of what lonza leggiera suggests above in the comments (if the suggestion in question is to assume that $(\Omega,\mathbb{P})$ is a standard probability space). Three possible lines of attach are as follows: 1) find a measurable (or better) section of the quotient map from the space $\mathcal{L}^2$ of everywhere defined measurable $L^2$ functions to $L^2$, 2) find a measurable lift of $X^\bullet$ to $\mathcal{L}^2$, 3) play the "intersections of full measure subsets over which functions are everywhere defined" game (alternatively one can try using Lusin type arguments, if approximations are allowed). Here I'm thinking of $\mathcal{L}^2$ to be endowed with the Borel $\sigma$-algebra endowed by the $L^2$ pseudonorm. (A related question is to see if the closed subspace of functions that vanish $\tau$-a.e. is complemented in $\mathcal{L}^2$) (By the time of writing this I could not produce rigorous arguments in either direction; I will add an argument (or a counterexample) here if I think of something.) (Also possibly related: https://terrytao.wordpress.com/2020/10/04/foundational-aspects-of-uncountable-measure-theory-gelfand-duality-riesz-representation-canonical-models-and-canonical-disintegration/ , especially to the third argument.)
From the perspective of probability theory in general admittedly the previous point seems misguided; as far as I understand no assumptions ought to be made on $(\Omega,\mathbb{P})$. Indeed, especially in the FDA theory being able to evaluate the random element $X^\bullet$ at any time $t\in[0,1]$ seems to be important. In fact, more structure seems to be desired: that the random element $X^\bullet$ takes values in some vector subspace $\mathscr{H}$ of the space $\mathcal{F}(T;\mathbb{C})$ of everywhere defined curves on the complex plane endowed with a Hilbert space structure such that for any $t\in\mathbb{T}$: the evaluation map $\delta_t:\phi\mapsto \phi(t)$ that takes a curve to where it's at at time $t$ be continuous on $\mathscr{H}$. This leads to the objects called reproducing kernel Hilbert spaces (RKHS). Thus it seems from the perspective of FDA not being able to evaluate functions everywhere is pathological, and the current solution to this matter is to use an RKHS instead of $L^2(T,\tau;\mathbb{C})$.
(For this point see the aforementioned book or the notes of Paulsen "An Introduction to the Theory of Reproducing Kernel Hilbert Spaces" at https://www.math.uh.edu/~vern/rkhs.pdf , especially the beginning of p.3.)