Yeah, and that is where it gets tricky. You'd have to calculate region types in (cavalry isn't all that good in dense forests or mountains) as well as some region border properties we don't even have in the database yet (bridges, mostly).
But ohhhhh, how I would love to have those....