Hi, yes — you can paste it straight onto the Solid as a new mask:
1. In Illustrator, open Preferences > Files & Clipboard and enable AICB with Preserve Paths, then select the whole path and choose Edit > Copy.
2. In After Effects, select the Solid layer in the Timeline. (Only select an existing Mask Path first if you want to replace that mask.)
3. Choose Edit > Paste — the copied path lands on the selected layer as a new mask.
Official guide: https://helpx.adobe.com/after-effects/desktop/drawing-painting-and-paths/shapes-and-shape-attributes/creating-shapes-masks.html#copy-path-from-illustrator-or-photoshop
Hope that helps!