Yes, but it's much more complicated, and you would have to update your varnish/nginx etc config if they make some major changes in their scripts
Couse each CMS needs different varnish/nginx setup
Would it be realistic to halve the values in youir suggested config for a 16GB server? If not, which variables would you suggest should remain the same regardless?