Why can't we use elevation gain as a parameter for setting goals?
There are plenty of parameters you cannot set as goal. If you find it could be useful suggest it to Garmin: https://www.garmin.com/forms/ideas/
Strange though, its a common training goal for cyclists and MTBers. I've sent them a suggestion anyway, hopefully they implement it.