At first glance it looks, but named arguments only support macros. See #1217 and test for named arguments in https://github.com/fabpot/Twig/pull/1216/files#r6736419