You most likely cannot directly transform / convert JPEG pictures (.jpg, .jpeg) to a Visio diagram (.vsd), but you probably can import images to Microsoft Visio and use them for making new drawings or diagrams. However, vector pictures are the preferred input/source choice for Visio.
Open JPG file Open VSD file