Yes both options would be possible, however two gates would be more difficult depending on how far apart they were because you would either need to run a cable between them, or use a wireless system (complex and expensive).
One thing you could try using for a "trigger" would be an ambient light sensor and a simple laser diode. The laser would be pointed at the ambient light sensor causing the light sensor to have a high value. When someone breaks the laser by running through it, the light sensor value would be much lower.
I recently used this technique on a project and it worked fairly well.
I used the ambient light sensor from sparkfun electronics.
For the laser i just ripped apart a cheap laser pointer to get to the circuit board and diode, however im sure you can buy something similar.