No because in the following code we need to have all WMS layer and group in the layer config:
https://github.com/camptocamp/cgxp/blob/5bb37b51967260eea435b5415c474fdcc9f4c4c8/core/src/script/CGXP/plugins/GetFeature.js#L268