Sure, it would take a decent amount of work but you could probably reuse some of the components from this. There's a link to the source in the description for anyone sufficiently motivated.