Not really. There are all sorts of reasons why you could rate Hadlee above Imran but not Murali above Warne.
Firstly, Murali can basically bowl all day. Like Warne, he's a spinner, and a very good one capable of bowling long spells with great consistency without losing his accuracy due to fatigue. Hadlee had superb stamina for a seam bowler, but that doesn't alter the fact that he's never going to bowl 35-40 overs in a day, or over a third of the overs in an innings (at least, not often). That means that the primary advantage of being the only world class bowler in an attack, which is access to a huge number of wickets per test and always getting to bowl at the tail isn't one he necessarily had to the same degree as Murali.
Secondly, Hadlee wasn't born and bred bowling on pitches perfectly suited to his bowling. New Zealand certainly produced helpful wickets at the time, but he didn't play on a green top every home test or even close to it, whould be fairly equivalent to the conditions Murali recieves. Mind you, I don't think there's anything wrong with Sri Lanka producing pro-Murali wickets, but it certainly happens far more than it ever has for any other bowler in test cricket.
Beyond that, who says they are the same sorts of comparisons? If you're saying "Hadlee is better than Imran because he bowled in a weaker attack" but "Murali isn't as good as Warne because he bowls in a weaker attack" then obviously you are contradicting yourself. But personally, I rate Hadlee above Imran as a bowler primarily because he was more consistent, had more tricks to his bowling and performed more evenly across his career than Imran, who was very much a peak-centred bowler.