Sounds spot on! The main reason for the invasion of Italy was to take over a dozen or so airfields that would have the oil fields and some other Axis-controlled industry in the Balkans in their flight radius.
The raid reduced the oil production for a short period as the Germans were very good at recovering from bombing attacks so the question was “Was it worth the loss of men and material” on a short lived gain? Many asked that then but much higher costs were coming when raids deep into Germany begin. Also should be noted the Germans beefed up defenses around Ploesti due to the Russians staging very weak attacks that did little if any damage but spurred the Germans to ring the target with 100’s of AA guns, day and night fighter squadrons. One report stated you could walk between planes with so much lead being thrown up.