The title of your post and your question are different but the answer is yes to both. You can use junction boxes to make splices and extend a circuit. Just make sure the junction boxes will be accessible, ie. they can't be covered by sheetrock or any other type of wall sheeting. The additional lights can be added as long as the addition of them doesn't exceed 80% of circuit capacity!