You can convert to BED format with
bedtools bamtobed
then either use the resulting BED file or transform that to GFF. But with the caveat that it is none of the attributes would be filled in, so it would be quite the minimal and simplistic GFF
a better solution would be to use a tool like miniprot
to generate actual GFF files based on proteins aligned to genome
Read more here: Source link