If you mean, replace the Twig expression sub-system by this code, the answer is no as Twig is much more powerful.