Yes, but maybe it's easier to use level the gain (on the XLR) with a passive preamp like this one:
https://www.ebay.com/itm/253180664213
It's cheaper more adecuate as it has XLR ins and outs like I need
https://www.ebay.com/itm/253180664213
It's cheaper more adecuate as it has XLR ins and outs like I need