Of course. Use the BANanoServer library (which is an easy to use wrapper around the normal jServer), and add a handler with your API. In the BANano app, use CallAjax or BANanoFetch to talk with your API like you would with any other server (like php).