I think I remember reading somewhere that Gilligan is a fan of those movies and has taken "inspiration" from them in writing Breaking Bad. You might be on to something.
I wasn’t crazy about the Dexter finale either. I will say though, I read an interview with the show runners after seeing the finale where they explained the writing choices they made, and it kind of made sense.
My main beef wasn’t so much “how it ended” from a story perspective, but rather, the multiple ridiculously implausible things that they piled up in the last 20 or so minutes to tell that story. I mean, sure, from day 1 the show has always required the viewer to suspend disbelief in exchange for entertainment, but I can only take so much before it starts to seriously detract from the experience.