You can - but then you have to install SQL Server again into the FCI. For an FCI you create the cluster - with shared storage and a witness (if needed). Then - you install SQL Server into the FCI using the cluster installation.
For an AG - you install standalone instances of SQL Server on each node outside the cluster.