Yes you can do this. Encrypting the PG's in a NAS HDP pool does not create any limitations compared to non-encrypted PG's. The only limitation of encryption is that you cannot enable Accelerated Compression with the current generation FMD but that is unrelated to NAS