Do you want to try this because you think there may be a chemical stimulant in the water
As far as I know there is none and it would probably less of a trigger than a normal cool water change, but you could try it anyway so long as there is no risk of any cross contamination.
There are some breeders who believe having livebearers like Endlers or Guppies in the same tank can trigger a spawn due to chemicals that they release when mating but I'm not sure if there is any scientific proof of it.