Yes, you can do this in 2 ways:

  • When the game asks you to capture the castle, you may say "No", and the land will be added to your kingdom. 
  • If you do not want to try the castle capture again, you can click on the Title of the land, then click "Abandon" to cancel the Capture the Castle quest. The land will then be added to your kingdom.