t5s put out a lot of light. Much more light per watt than t8s or t12s which is why the old watt per gallon rule does not work for them.
A single t5 in a tank as shallow as a ten gallon is going to give you fairly high light which will likely lead to algae problems without CO2 and ferts.
Since you say you already have the light, I say give it a go. I would start by elevating the light above the tank a ways. I am not sure how much to be honest.
If you run into algae issues its likely from too much light, move the light up further, add floaters, put window screen over top of tank, employ other light lowering techniques until you find the sweet spot. Or get a t8 fixture which are really very good for low/medium light ten gallon tanks.
Good luck.