Some visualizations of 3D formats can be exported as plain pictures and so stl to jpg conversion is certainly possible.
The resulting pictures no longer work as the original 3D formats, models, meshes or other data but simply are images of what can be seen on the monitor. The resulting files lack any 3D/CAD data and are no longer usable in such software. Often exported as part of some preview function.