haproxy – Combining several ACLs to make an alias

I was wondering if it is possible to combine two ACLs to reduce repeating myself in my HAProxy config. Example:

acl prod hdr_beg(host) -i example.com
acl beta hdr_beg(host) -i beta.example.com
acl url_app path_beg /app/

Instead of having to do an if prod url_app or if beta url_app I would like to do if prod_app or if beta_app where prod_app would alias to prod AND url_app with the same respective treatment for beta_app

Is this possible?