Can a dedicated circuit have a junction box somewhere between the fixture and the panel?
As long as nothing else is connected to the circuit, even if it traverses a j-box along the way, it is still dedicated.

Kudos, for remediating the duct run.  The splice in the panel isn't best practice, but if terminated properly, is O.K..