Maybe....
The plural for "cactus" can be either "cacti," "cactuses," or "cactus," depending on where you are and who you talk to.
So, you could say your sentence, but more often, you might also hear "Cacti have a lot of spikes" or "Cactuses have a lot of spikes."