You can get Bot Events from RTB or the forums, there are a lot of bot mods. These will basically do it for you with very little trouble.
Alternatively, you can use default events to turn a horse into a player.
onBotTouch > Bot > changeDataBlock > "Standard Player"
Have that on a vehicle spawn and set it to spawn horses.