Hi Taka,
(1) There is little, if any, hope of his recovery.
(2) There is little hope, if any, of his recovery.
(3)There is little hope of his recovery, if any.
Are these three all grammatically acceptable? Yes.
But I don't recommend #3. It raises the possibility in the reader's mind that the phrase 'if any' refers to 'recovery' and not to 'hope'.
Best wishes, Clive