My other option is including an implementation of the ActivityPub API, but it would still need to do all the interesting stuff necessary to make a working account.