Not being legitimate only means he couldn't succeed Roose; it doesn't mean Roose wouldn't want him educated in war - like Jon, like the Sand Snakes. A season before we meet him, the very first thing we learn about Ramsay - beyond the fact that he's a bastard - is that Roose trusts him to lead military campaigns.