This is possible using a Splitter.
This is a sample code that will split a document on every page:
PDDocument document = PDDocument.load(myPDF);
Splitter splitter = new Splitter();
List<PDDocument> splittedDocuments = splitter.split(document);
You can control the number of pages on every splitted PDF using setSplitAtPage(split).