Sorry if I’m still missing your point, but have you looked at How to Create Polls.
I don’t understand just what kind of voting you’re trying to do. If you want to create a plugin then you can create a custom field with type json and stick whatever you want in it and add it to the serializer to be able to display it.