No. For any commutative ring $R$ and $I\leqslant R$ any ideal, denote by $\mu(I)$ the cardinality of a smallest generating set for $I$. If $R$ is Noetherian, then the best we can do in general is Krull's height theorem, which tells us that, for any $P\geqslant I$ a minimal prime ideal over $I$, we have $\text{ht}(P)\leqslant\mu(I)$. However, equality certainly does not have to hold. Let $F$ be your favorite field, and consider the ring $R:=F[x_1,\dots,x_n]\big/(x_ix_j)_{1\leqslant i,j\leqslant n}$. Then $R$ is local with $\dim R=0$ (why?), but the unique maximal ideal of $R$, $(\overline{x_1},\dots,\overline{x_n})$, is not generated by fewer than $n$ elements (why?). You can extend this example to the ring $F[x_i]_{i\in\mathbb{N}}\big/(x_ix_j)_{i,j\in\mathbb{N}}$, which is still local of Krull dimension $0$, but doesn't even have a finitely generated maximal ideal.