Yes but that isn’t the cause of the price differential between Elizabeth line and Piccadilly line, that is due to the track access charges.
The government did insist that TfL charge peak times at all times to Heathrow as part of the funding agreement, but it could also be argued that is sensible business practice as the travel patterns at Heathrow are different to standard commute timings.