Is it possible to specify custom error log format in nginx?

No, you cannot change the error log format without changing the Nginx source code.