No. If you look here, you can see that spikes is not one of nincada's possible moves. Generally, just because it is a ground type doesn't mean it can learn every ground move. Take Treecko. It can't learn vine whip, even though it is a grass type Pokemon.
But sadly, no. Spikes Nincada would be great