Run mp3tag within Apple Script

I want to write out the persistentID, play counts, etc from Apple Music library to mp3 and m4a directly.
I am able to read the fields I need from Apple Music library thru Apple Script and export them to CSV.

From here I can import the CSV in mp3tag.

I understand Apple script can run any Application in macOS thru scripts.
I want to write tags to m4a, mp3, directly with Apple script by loading mp3tag application.
I am looking for some examples to load mp3tag and write tags from Apple scripts.
Please help.

It's necessary for the target application to expose certain functionality to the AppleScript system. Mp3tag doesn't support AppleScript at the moment.

Ok
Is it possible to running mp3tag on command line in terminal?