I'm sure it could be done, however, my preference would be not to try to replace the OEM battery, but instead replace the AC adaptor. You can buy super-long life battery packs (usually Li-ion) which work in this way.
Most laptops need 20 V DC input from the mains. Put 14 AA batteries in series, and you'll have a pack that goes from about 16-21 V depending on charge. Stick a suitable connector on it, and you're good to go. NiMH batteries have very good current handling - probably better than Li-ion so should have no probs powering the laptop.
Of course, you won't get battery health status - the laptop will probably just cut out without warning (keep a fully charged OEM battery in it so you get some warning). You are also at very high risk of 'reversing' one or more cells in the pack because of the high voltage, so you could never discharge it very deeply. Additionally, 2 Ah will only get you half the run-time of the stock battery. If you wanted to do it seriously then you'd need industrial grade C cells (or D cells) which can have capacities of up 13 Ah.
You probably couldn't just replace the main battery with an NiMH pack because many modern laptops expect a 'smart' battery. Many laptop battery packs contain a small health monitoring circuit and CPU. The CPU in the battery pack communicates with the laptop reporting health status, charge status, expected run-time, and sending requests for charging, etc. If the laptop doesn't detect a suitable monitoring circuit then you probably won't get a charge status, won't be able to charge, etc.