That would be illegal in EU
And no - CCTV is not widespread at all. There's far more CCTV in the UK than there is in the EU where I live now.
States do indeed issue local IDs. There is no common EU ID card and no common EU passport.
There isn't even a common immigration database for Schengen - although that's planned for 2023. (It was supposed to be 2022, but it's been delayed by a year.)