Most likely it should possible to convert common JPEGs to DICOM images, but it would be of little to no use, because the .dcm files contain actual medical images, like x-rays thus some random JPEG is useless for this purpose. But some graphics editors allow saving to DCM format, so re-saving should be doable.
Open JPG file Open DCM file