Do you mean testing whether the average random-intercept (latent mean) differs across groups? Measurement invariance is imposed by virtue of equal loadings across groups (all loadings are 1, to give the latent intercept its interpretation). But the latent means are fixed to zero for identification. I think in this case you could hypothetically use effects-coding constraints on the intercepts over time to estimate the random intercept's mean. The problem is that the first occasion's intercept doesn't have the same interpretation as the remaining occasions' intercepts, because you aren't regressing the first occasion on a previous occasion.
What I would recommend instead is labelling all of your intercepts (unique labels across groups), then defining group-difference parameters, which will have delta-method SEs and tests in your summary() output. You can use lavTestWald() to obtain a single omnibus test statistic that all 5 group differences == 0, and the individual tests on each occasion would be follow-up tests if the omnibus H0 is rejected.
Terrence D. Jorgensen
Assistant Professor, Methods and Statistics
Research Institute for Child Development and Education, the University of Amsterdam