It's definitely not illegal - unlike insider trading, there won't be any criminal penalties. The employee probably could get disciplined and/or terminated for this, if they somehow get caught.
I expect the airlines aren't as concerned about someone grabbing the cheap seats ahead of others as they would be about someone delaying purchase of a more expensive ticket, knowing the price is soon to drop.