Absolutely. I think one of the greatest strength in Alfresco is the ability to integrate into existing infrastructure. Your stack (Java, MySQL, JavaScript, JBoss or other app server) is just right for Alfresco.
Ideally, the client would invoke either custom or out of box services housed in Alfresco. The services would return JSON or XML. How the data should be presented is left to the UI designer/developer.