In the original The Elder Scrolls IV: Oblivion for PC, you can't get a rideable dragon through the base game. You'd need to install a mod to make that possible.
One such mod is "The Akatosh Mount," which adds the ability to obtain and ride a dragon. Keep in mind this is a PC-only option, as it relies on the modding tools available on that platform.
Mods like this are a big part of what keeps Oblivion fresh, letting players add all sorts of creatures and features the developers never included.