Did you have a particular one in mind? I've never done it before but would be willing to learn if it wasn't a lot of work and made the program easier to get for people who'd appreciate it.
I’m not sure, most package managers I think about might not be suitable for a standalone tool. (Conda or Pip for example, I THINK they are only suitable for frameworks and libraries, but am not really sure).
One that i know that is suitable for standalone tools is homebrew. You could also loot at system specific package managers and/or repositories for linux distributions. But honestly I dont know how any of them work in terms of publication. I just use them to download software or libraries myself, and think it would be cool to have a tool like that in “POP OS” for example, which is the system I am using currently searched for ansii editors in it but there does not seem to be any in the store. But personally I dont know if it would be useful or easy for you to put your tool there. I would just be glad in general if it where in homebrew or flatpak repositories. But homebrew could be more usefull as it is available for Linux and macOS.