I read the comics, and I thought it was great. You could make the argument that it wasn't "true" to the comics, I guess, but I'm not "that" kind of comic book fan. Carol Danvers has had 2 or 3 different origin stories in the comics, and what they went with for the movies was kind of an amalgamation of a couple of them, with a modification of Mar-Vell's (the original Captain Marvel) origin, for good measure.
As a straight origin story, Captain Marvel is in my Top 3 Marvel movies. As a Marvel movie overall, it's in my personal Top 5.