The corsair has retractable gear and it's gull winged so there's no technical reason RG could not have been added, but there are many associated problems doing this by modification to an existing design. For one thing, the main fuel tanks of the JU-87 are on the inboard sides of the inverted gull wing. Second and most significant was the JU-87 use the Junkers double wing configuration; the flying ailerons and flaps were built in drag, and no amount of sleeking up the undercarriage was going to avail much unless those were altered.
Even though major changes would have been needed, the Germans could have taken lessons from both the Japanese and the Russians in making alterations to the JU-87. The ailerons and flaps could have been incorporated as in a conventional aircraft, a significant reduction in bomb loading would have really helped range when it could have been used, and the RG added to these alterations should have boosted the performance significantly.