plants will not cause an ammonia spike. Some plants will absorb some. Though they will mostly absorb nitrates.
The only way ammonia can arise from plants is if they die and are left to rot in the tank.
In an established tank though, the filter should eliminate the ammonia cause by dead plants.