Yeah, they definitely set that up with the post-credits scene in Avengers 3. I hope they think of a way to handle it well but it doesn't look good. "Lets call in this even-more-powerful-than-the-rest hero character who no one has heard of to save the day!" - feels like they should have introduced Captain Marvel a while back if they're gonna do that, not in-between Avengers 3 & 4.
I hope I'm wrong, but I suspect we've seen the peak of the Marvel movies and it'll be a slow slide down from here. They're gonna have to come up with some good explanations as to why some characters are coming back as-is (Spiderman, Black Panther, others) and some are going away or having new people take on the roles (Iron Man, Thor, Captain America, etc.).
Superhero movies were never going to last forever as "the thing" in movies. There seems to be nothing on the horizon to replace them with though. Star Wars has crapped out. Zombies stopped being a thing quite a while ago. Maybe they'll have to go back to producing new things, and hope they wind up getting a franchise out of that? Yeah, probably not. Mortal Engines probably stung...
We'll have to see how long the superhero train lasts.
I think as long as they can keep the quality up, people will still go. Hopefully
Captain Marvel isn't a preview of the quality to come because if they start dropping to that level I can see the genre dying out quickly. It wasn't horrible but it was closer to a DC movie.
Of course a lot hinges on
Endgame, with all the hype they better get it right.