Early 2000's aluminum road bikes are under-appreciated, and can often be found used for quite a good price. If you have any mechanic skills, you could selectively upgrade parts and come up with something quite rideable for little $$$.
But many of the road bikes of this era have trouble with anything larger than 25c tires, so they are not necessarily good for gravel.