Unless the T8s are using an electronic ( such as a workhorse ballast ) that will also power T5 HO bulbs the ballast is likely not going to light them properly. If the ballast doesn't have the ansi code listed on it to run a T5 HO and you try it, while it may actually light the bulb is will not likely provide the full high output light from the T5.
I also believe the pins are different widths on purpose to prevent trying to use with T8 endcaps so that would need to be replaced too.
Lastly, what makes T5s so great is the ability to use individual parabolic reflectors. Trying to use without that will also reduce the amount of output considerably.
Best to just start over with the right equipment.