A designer has published a 3D model of a Picatinny rail for the AKM gas tube on MakerWorld under the name AK gas tube picatinny-rail final V4. The work followed unsuccessful searches that yielded only airsoft alternatives, and the file is described as unsuitable for airsoft.
Modeling occurred in Fusion, after which a Picatinny rail was attached using studio tools because the author lacks Fusion expertise. PA6-CF or comparable high-temperature materials are advised for printing. The model can be obtained from the MakerWorld page.