Dynamic open graph and twitter images in meta tags of topic page when image is not present in topic

Yes, that should work.