Generally speaking, it is possible but you will have to translate all the rewrite rules since Apache’s mod_rewrite module and Nginx’s parallel do not use the same syntax.
In addition, see the post here:
You will encounter similar issues because Nginx runs PHP in FCGI mode and thus will not support the php_flag and php_value directives which are implemented in the Apache PHP module.