Did Gotham end with a cliffhanger?

No, Gotham was finished as intented.

[IMDB]