It should be certainly possible to use vector graphics like SVG for making Visio drawings, but using raster graphics (PNG or JPEG) can be somewhat problematic and these are usually used only as objects.
Although some programs allow this through some creative raster to vector conversion, jpg to vsdx conversion will be hard to do and the result might be lacking. For best results, use simple geometric shapes.