You could definitely hack this together on a fork of lichess, but don't expect to see it on the main site.