Is it possible to take a RGB image and thermal image simultaneously?

Yes.

DJI XT2 camera has the double capacity. You can also use 2 different sensors on a single DJI drone such as DJI Zenmus XT and Zenmuse X5S for example.