Neither is tanking. Flyers are good at developing goalies. It's probably their strongest suit.
Tanking would require trading half the team, it's hard to be so bad you have a shot (not a guarantee) at #1. And most years, what you're getting from #2-5 is a good player, not a franchise player. After trading half the team (your better young players) you'll not only have to get lucky enough to land a franchise player, you'll also need to rebuild the team you traded away to tank.
Most of the teams that are SC contenders didn't do it by tanking, they did it by consistently finding solid players outside the top ten, both later in the 1st rd and in the draft, or trading for them.
Edmonton drafted #6 Gagne, #10 Paajarvi, #1 Hall, #1 RNH, #1 Yakupov, #7 Nurse, #3 Draitsail, #1 McDavid, #4 Puljujarvi, #10 Bouchard, #8 Broberg, missed the POs 12 of 13 years, then took 5 more years to lose in the SC finals. Took (4) 1st rd picks to hit the jackpot.
You can do the same exercise with Toronto, which has yet to get past the 2nd round.