In general no. When compiling code in database the old code is lost. At least to my knowledge.
Unless you have an versioning file system and saved the file yesterday.
I am not sure if database flashback restores packages but it would have to be enabled before hand.
Regards
Stian