I am not sure it would work because someone still would program the algorithms and thus creating a weakness to the system. Besides, there are just too many intricacies of politics that would not feasibly be possible. Introducing legislation, bipartisan cooperation, tough decisions that may be necessary like war or investigations.
My friends and I have been talking about this for years. It would be possible is to have a decentralized candidate in another way. With the present technology, all one would need is to be able make a website and an App that constituents can log into and vote on whatever issues the candidate is to vote on. Then majority wins and the candidate would be bound by his campaign promise to vote in favor of the majority. Of course there would have to be minimum levels of participation where the candidate would choose his preferred vote. The website would also have to be able to verify the voter is a constituent and be secure from special interest attacks of submitting multiple votes or fake votes.