Why not? People make a living from Amazon affiliation websites. Don't the flight companies have the similar programs?
This is why there are close to zero flight search engines that are successful standalone companies and almost all the big brands have been acquired by bigger dominant players - Kayak is now a sub-brand of Booking (prev. Priceline) and Skyscanner was acquired by Trip.com in China.
Yes they can be valuable properties but more as a traffic generator for selling other products (accommodation, car rental, insurance), and you need a big team to do all that.