You can import MIDI files (.mid, .midi) to Guitar Pro and work with them in the default project, however the latest version does not save projects as .gp5 files, instead it uses a .gpx file, which means midi to gp5 conversion is something you would do in older versions of the program.
If you are after a specific version of Guitar Pro project, you probably need to find that exact version of the program.