Can we have NAs (missing data) in a linear-mixed model? I've kinda asked this before, but I guess that I've made it too complicated and I still don't get it right...(I'm using R, so lmer)

*

*To put it simply: can we have NAs in the outcome and/or in the predictor variables of a linear mixed model (or should we always delete them or imputate?) So,

1) Can we have Na/missing data in the outcome variable?
2) Can we have NA/missing data in the predictor variables?
Thanks in advance! (I'm trying to understand if a model (not necessary mine) with Nas is conceptually wrong + how having Nas bias the results in general so that I can get the bigger picture)
edit:
I'm wondering If I should do this before (any) model:
data <- data %>% 
  dplyr::select(Participant, OutcomeContVariable, PredContVariable, PredCateg2-LevelVariable) %>% 
  # group_by(Participant) %>% 
  # filter(all(!is.na(OutcomeContVariable) & !is.na(PredContVariable)))


Software like lmer() will typically omit any row of data that has an NA value for any variable that's in the model, outcome or predictor. From that perspective, if you don't impute then what other pre-modeling choice you make doesn't matter--rows with any missing data in the variables of interest simply won't be used in building your model. (As @Björn notes in another answer, other modeling approaches can incorporate missing data directly.)
The question then becomes whether this matters. There are circumstances in which it's OK to delete cases with missing outcome data, as explained by Stef Van Buuren where $X$ represents predictors and $Y$ outcome:

If the missing data occur in $Y$ only, complete-case analysis and multiple imputation are equivalent...

He notes two additional special cases:

The first special case occurs if the probability to be missing does not depend on $Y$. Under the assumption that the complete-data model is correct, the regression coefficients are free of bias... This holds for any type of regression analysis, and for missing data in both $Y$ and $X$.


The second special case holds only if the complete data model is logistic regression. Suppose that the missing data are confined to either a dichotomous $Y$ or to $X$, but not to both. Assuming that the model is correctly specified, the regression coefficients (except the intercept) from the complete-case analysis are unbiased if the probability to be missing depends only on $Y$ and not on $X$.

He warns:

At a minimum, application of listwise deletion should be a conscious decision of the analyst, and should preferably be accompanied by an explicit statement that the missing data fit in one of the three categories described above.

Otherwise, multiple imputation is preferred, as illustrated nicely by @dipetkov on a data set you previously provided.
van Buuren's Flexible Imputation of Missing Data is a superb, generally accessible discussion of missing-data issues and how to deal with them, whether in your own data or in considering work by others.
In response to edited question:
I'm not fluent in tidyverse, but I infer that your specific question (if you aren't going to do imputation) is whether you should completely remove a Participant that has any missing values in modeled variables at any observation time in a longitudinal study.
A Participant can still provide information about observation times for which she provides data, as Björn's answer indicates. Mixed models can even handle completely different observations times among individuals, particularly if you model time smoothly (e.g., with regression splines). So the most general answer is: don't throw away data, keep all the useful data that you have.
Or use multiple imputation if appropriate.
