Yeah! Running a laptop on AC power only has been done. Just take care of the battery (charge and discharge it once in a small while, protect it from dust collecting etc) if you plan on trying to use the battery again.
open