That would be taking it a bit too far.
Imran is arguably the greatest test all rounder of all time (the best in my book) while he would rank among the top 10 ODI all rounders of all time too.
Sachin Tendulkar is arguably the greatest ODI batsman of all time (the best in my book) and among the top 5 test batsmen of all time.
I would attach more weightage to test exploits over ODI's.
Its a lot closer than you suggest.
Most Matches in Test :198
Most runs in Test :15837 runs
Most runs in ODI :18426 runs
Most Fours in ODI :2016 fours
Most Fours in Test :2044 Fours
Most 150+ scores in ODI :5
Most 150+ scores in test :20
Most hundreds by a batsman in Test: 51 Hundreds
Most Hundreds by a batsman in ODI :49 Hundreds
Most Ninties in ODI : 18
Most Ninties in Test :10
Most fifties by a batsman in Test : 67
Most fifties by a batsman in ODI : 96
Most Man of Match in ODI :62
Most Man of series in ODI :15
Most Balls Faced in ODI :21367
Most ODI runs in a calendar year :1,894 ODI runs in 1998.
Most Centuries in a calendar year : 9 ODI Centuries in 1998.
Most runs scored by a batsman in ODI tournament Finals: Tendulkar 1851,
Most centuries hit by a batsman in ODI tournament Finals: Tendulkar (6 ton)
Most Runs in world cup : 2278
Most Runs in single world cup : 673 Runs in 2003 world cup
Most Hundreds in world cup :6
Most fifties in world cup :15
Most successful batsman in Wins (11157 runs in 234 matches)
Most successful batsman in chases - 5490 runs in 127 matches)
Yes it is one and only SACHIN TENDULKAR
Not only imran, entire Pakistan can be swapped for such a record. Good night.