Sure, it's possible, but why not put all the logic in a single place? If you don't want to take advantage of Acre's free hosting for open source code, just put everything in your local web app.
You can create apps which provide an API using Acre (e.g. http://genderednames.freebaseapps.com/gender_api?name=Tom) but unless it's adding value, you're introducing additional latency and adding a point of failure without getting any benefit.