Sling Post Servlet should be able to handle this kind of upload.
I have used Webdav for this purpose to successfully upload over 25 GB assets to AEM DAM. You might want to explore that for your usecase. Just remember to disable all DAM related workflows as those are the real memory hogs during rendition generation.
For page content AEM packages are suited, though packages over 2GB are not recommended.