What is relation betwen linearity assumption in OLS and L in BLUE (i.e. OLS is BLUE)

The linearity assumption says that the dependent variable is linear in parameters. When Gauss-Markov assumptions hold, OLS is BLUE, meaning smallest variance amongst Linear Unbiased estimators, where Linear means the OLS estimators, which produce estimates of the parameters for each sample, are linear functions of the dependent variable.

Does linearity assumption (y linear in parameters) restrict focus to linear estimators (parameter estimators linear in y)? Or the linearity assumption does not restrict focus to linear estimators, but rather a separate decision is made to look only at linear estimators?

The L stands for linear estimators in $$y$$, i.e., estimators that may be written as $$\tilde \beta=\sum_iw_iy_i$$ for some choice of $$w_i$$.