With an arcadia T8 tube then no, 5 inches is not too close.
The arcadia T5 tubes put out double the UVB of the T8 so I wouldnt worry about over exposure.
As long as your dragon can retreat to a less exposed area I wouldnt worry too much.
Positioning looks ok, personally would have prefered uv...