You surely can, I use windows and install the different AS Versions in different folders and then set the variables accordingly.
Due to some errors in AS Perl 5.8.4 I wonder if you can actually change the compiler version within the script telling to load one snippet of code with Version 5.8.3 and another when using 5.8.4.