The question is not ‘can you’. The question is ‘should you’. Of course you can. ...but not everything we can do we should do.
Taste the Stout with and without a smidge of salt. IMO, in a full flavored Stout, you’ll never taste the difference of 1/2 tsp in a 5 gal batch.