This is easily done with GraphiQL installed as an application on your laptop but any tool that allows HTTP headers to be easily configured will work.
GitHub provides no mechanism (at the time of writing) to remove packages as such, but removing all of the versions of a package has the equivalent effect. You may have to repeat the delete package version operation many times but in the end, the package will be gone and consume no more of your package space allocation.