Seems to be and helps you climb the pvp tower list I guess and as far as I know if you're attacked you don't actually lose any units that you have in the defending army ......can't tell (or haven't noticed) any points awarded for defending successfully as yet.
Maybe at a later stage of development a successful attack may reward you with some coin, tools or products from the city you attack but thats just supposition on my part.