yes, this is possible in the band properties of the interferogram using the “valid pixel expression”.
unfortunately, this won’t affect the export of the image or the performance of snaphu.
But it can later be applied on the result to exclude these areas.