It’s possible, but fairly complex to do. The best route is probably to have it custom developed. You can talk to a developer in the Marketplace category about possibly doing that. One word of advanced warning – doing something like this may require a lot of long-term maintenance, as a major interactive change can break easily if any methods you’re using from Discourse core changes.