Americans during the ww2 were making the longer-barreled versions of their 75mm guns, that ended up on the Shermans.
Yes and no, The 75mm field guns were 36 calibers in length, The US shortened the barrels to 31 calibers on the M2 tank guns, Then lengthened them to 40 calibers on the M3 guns.
Difference in performance between a 36 caliber barrel and 40 caliber barrel????
Tank guns generally needed new recoil systems, no room for the barrel and breech to move 4 1/2 feet (French 75mm) when fired.
Now not only is there R & D to be done on the recoil system, you have to figure out how to package it.
And once you have it working you have to figure out if the tank hull and turret will stand up to it. French 75 was a light gun for it's performance and it was the long recoil that allowed that. It traded long recoil travel for reduced peak recoil load.
Muzzle brakes help. But if for some reason (desired overhang?) length of tube is restricted the designer may have to decide between actual tube length and overall length.
Soviet 76mm M36 gun was already using higher performance ammo than the French 75, around 80-100ms for same weight projectile. and may have been a more suitable weapon for upgrading.
upgrading the 75mm to fire the AA ammo, that went to 700+ m/s.
The French AA guns that had 700 m/s velocity used cartridge cases 518mm long.
Maybe you can ream out the chamber?
If the case is bottlenecked you may need a new breech block.
You are going to have up grade the recoil system.
Swedes did adopt the 75mm AA gun into a tank gun in the 1950s.
26 metric tons. New turret on M/42 chassis/hull.
It was actually quite an undertaking.