Given the usual linear regression model, (vector matrix notation for a sample of size $n$)
$$\mathbf y = \mathbf X\beta + \mathbf u$$
where $\mathbf u$ is an unknown stochastic "error/disturbance", we make various (and varying) additional a priori assumptions and for each set of them we examine what properties do various estimators have.
The OP refers to the "conditional homoskedasticity of the error" assumption, where the distribution of $\mathbf u$ conditional on the regressor matrix $X$ is assumed constant:
$$\operatorname{Var}(\mathbf u\mid \mathbf X) = \sigma^2\mathbf \Omega$$
where the diagonal elements of $\Omega$ are equal to unity (the off-diagonal elements can be non-zero, we do not treat the issue of autocorrelation here-note that the "variance" of a vector essentially denotes the variance-covariance matrix of the vector)
This means that for every $i=1,...,n$ the conditional variance of the error term is the same (which we summarily state by saying that it is "constant").
Now, under the assumed specification we also have
$$\operatorname{Var}(\mathbf y\mid \mathbf X) = \operatorname{Var}(\mathbf X\beta + \mathbf u\mid \mathbf X)$$
Since we condition on $\mathbf X$, $\mathbf X$ is treated as a constant. moreover, in the context of classical/frequentist statistics, the unknown coefficient vector $\beta$ is also treated as a constant. So $\mathbf X\beta$ is a constant (conditionally on $\mathbf X$), and therefore it does not affect the conditional variance. So
$$\operatorname{Var}(\mathbf y\mid \mathbf X) = \operatorname{Var}(\mathbf X\beta + \mathbf u\mid \mathbf X) = \operatorname{Var}(\mathbf u\mid \mathbf X)$$
So the answer is "yes" (note that conditional homoskedasticity implies unconditional homoskedasticity, but not vice-versa).
In fact the classical linear regression model with the benchmark set of assumptions of "spherical disturbances" (conditionally homoskedastic and non-autocorrelated), and the extension of regressors being stochastic but strictly exogenous, can be compactly specified without an error term in sight:
$$\begin{align} &E(\mathbf y \mid\mathbf X) = \mathbf X \beta\\
&\operatorname{Var}(\mathbf y\mid \mathbf X) = \sigma^2\mathbf I\\
&\mathbf X \;\text {is of full column rank} \end{align}$$
The first line incorporates the linear specification assumption, and the assumption that anything else that may affect $\mathbf y$ has an expected value equal to $0$, conditional on $\mathbf X$. The second line incorporates the assumption about the "error term" being conditionally homoskedastic and non-autocorrelated. The last line is the "no-perfect collinearity of the regressors" assumption.