I have had this. It was awful. I was in huge amounts of pain and sleeping was really hard. I couldn’t do any sport and even walking was hard. I was put on strong painkillers by the GP while waiting (3 months) for a scan.
I asked the GP if I could see a physio (at my own expense) but was told I had to wait until after the scan, to be safe.
At the scan, the lady performing it told me the was nothing wrong internally and to see a physio. She said that is almost always the case when presented with a non-elderly, non-obese, reasonably healthy and fit patient.
Saw a phsyio, she manipulated my diaphragm. Instant relief.
So perhaps you could try seeing a physio?