Can the Arduino handle lots of variables?

yes, but since they are indexed numbers you could use a for loop

or if you want to dabble a bit in the "dark side" look up direct port manipulation on the home page