If you abide by Islamic rules and conditions, which please God the Highest and his Messenger Muhammad (peace be upon him), and if you achieve Islamic aims, then it is natural for this action to be acceptable; there is no doubt about this.
NOTE* There are opposite opinions on jihad available on this site*.