Anything that is possible at all in a web app is possible in a custom feature.
I don't know anything about that library but guessing from the error it sounds like some configuration is missing. I recommend read their documentation thoroughly and see if they require you to add any web.config settings. Or if you are configuring it from code you may need to do in OnInit rather than page load.