Hello! You are right that this is not the best approach to compare models for this type of model/data. There have been a few conversations about this that might be informative, particularly this one: Loo for hierarchical model with trial-by-trial dependencies
In brief, you want to do cross validation, either leaving the next trial out (if you are concerned about the model generalizing to future trials) or leaving participants out (if you are concerned about generalizing to future participants).
Others here have more knowledge about this than I do, so they may chime in with more info, but this should at least get you started.