there was this match:Imran scored his first Test century against the West Indies in 1980 (The bowlers were Clarke, Croft, Marshall, and Garner). And he scored his last Test Century against Australia in 1990 (The bowlers were Hughes, Rackeman, Campbell, and Taylor).
The point being that for a full decade Imran was a competent batsman and excellent No.7 or No.8. His average did peak between 1987-1990, but this does not mean that he didn't average well between 1980-86, or that he wasn't a bowling-allrounder of the highest order during that time;
HowSTAT! Player Analysis by Year
However, I am struggling to find a Test where Imran emulated Ian Botham and impacted a match with BOTH bat and ball (maybe someone else can find a good example!). In that respect Imran is a deficient allrounder in a way that other great allrounders are not.
3rd Test: Pakistan v India at Faisalabad, Jan 3-8, 1983 | Cricket Scorecard | ESPN Cricinfo
1982/83 against India Imran got 6/98 then 117 (strike rate 96.69) then 5/82. not sure of any other matches though...