We've had the tech to do that for decades. Run the numbers (including costs of building the plant and fuel to run it) and see why nobody does carbon >> diesel with CO2 as a feedstock.
Now, if you took coal, extracted the thorium for energy, that reactor would give you the heat to do coal >> diesel directly, with some left over for the lights in town.
Doing that mainly consists of weaning the energy players off of nuclear tech that goes 'BOOM'. But they like their toys and Square-Jawed General act a bit too much, plus they're suckered by their sunk costs.