No, Call of Duty: Black Ops 2 was not officially released for the PlayStation 4. It was originally released for the PlayStation 3, Xbox 360, and PC. However, the game is not backward compatible on the PS4, so it cannot be played on that platform. No.
Can Black Ops 2 be played on a PS4? Not as of 2024. Black Ops 2 was originally compiled to Xbox 360, PlayStation 3, and Windows PC. The PlayStation 3 is notoriously hard to emulate, meaning unless they allow Windows executables or Xbox 360 code to run on a PS4, it is probably not going to happen.