Yes, but you need to get the old minecraft.jar file or or prefferably the entire bin folder corresponding to the version you want.
Download old Minecraft versions here.
Guide to install old Minecraft version here.
Good luck!