I can do this in Photoshop and in some circumstances.. generative fill can take care of missing edges otherwise lost to cropping. And I think even GIMP has perspective correction too.. but no sure about A.I. fill.
We made a few videos about it on our channel. The best are black/white moving blankets that you can hang from your walls and then large rugs with a pad under it to give it some thickness. Look up “Fstoppers Sound treatment” for about 4 videos we have made -P