Playlist interaction project

I would like to start a project that reorders and manages the playlist based on the number of times I’ve listened to a lesson.

For my little algorithm I would need to be able to pull 1.) number of times listened to 2.) last date listened to.
I would then need to be able to amend the ordering of the playlist

The ability to add or delete lessons would also be useful, but not necessary.

Could this be incorporated into future versions of the API? Please someone correct me if this is already possible and I am just ignorant.