You simulated y~NB(lam,alpha) instead of N~NB(lam) and y~Bin(N,p). The first model could be fitted using a standard glm. The second seems to work fine in unmarked:
> set.seed(45)
> nSites <- 50
> nVisits <- 5
> lam <- 1
> p <- 0.5
> N <- rnbinom(50, mu = lam, size = 1)
> yS <- matrix(rbinom(nSites*nVisits, rep(N,nVisits), p), nrow = nSites, ncol = nVisits)
> fmNB <- pcount(~1~1, data = unmarkedFramePCount(yS), mixture = "NB", K = 500)
> backTransform(fmNB, type="state")
Backtransformed linear combination(s) of Abundance estimate(s)
Estimate SE LinComb (Intercept)
1.07 0.225 0.068 1
Transformation: exp
> backTransform(fmNB, type="det")
Backtransformed linear combination(s) of Detection estimate(s)
Estimate SE LinComb (Intercept)
0.538 0.0548 0.153 1
Transformation: logistic
> backTransform(fmNB, type="alpha")
Backtransformed linear combination(s) of Dispersion estimate(s)
Estimate SE LinComb alpha
1.09 0.608 0.0824 1
Transformation: exp
>