Hello. I Am trying to find something similar.
My method for now is correct the photo in Photoshop and play with the viewport. :/
It's called PerspectiveMatch. It's an old command, and believed to not really work so great, but it's there.
I use the perspective match command many times. But in my opinion, the plugin match photo in SketchUp is more efficient. :)