@sanjeevkumart45 it is possible without developing a content fragment component. You can use all dialog components inside the content fragment. Simply use the pathfield component with the pickerSrc element set. Here is a example :
<file
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/pathfield"
fieldLabel="Image"
name="fileReference"
listOrder="1"
maxlength="255"
metaType="text-single"
pickersrc="/mnt/overlay/dam/cfm/admin/content/v2/associated-content/assetpicker.html?root=/content/dam&mode=single&filter=nosystem"
valueType="string"
renderReadOnly="false"
showEmptyInReadOnly="true"/>
You can set the root path inside of the pickerSrc.
For further reference please check the documentation.