Icewind Dale III...it could be done. And done well. But it shouldn't be a direct translation of the rules, it would require some massaging. It would be really interesting to see how a computer game handled Inspiration and granting Advantage and Disadvantage...